Durchlaufene Menu erzeugt
This commit is contained in:
@@ -19,7 +19,7 @@ namespace DichtheitManagement
|
||||
|
||||
public IQueryable<Auftraggeber> GetAllAuftraggeber()
|
||||
{
|
||||
return _repository.Get(includeProperties: "Baustellen,Baustellen.Prüfobjekte").Where(p => p.Id >= 0);
|
||||
return _repository.Get().Where(p => p.Id >= 0);
|
||||
}
|
||||
|
||||
public void Update(Auftraggeber update)
|
||||
|
||||
29
DichtheitManagement/InspektionsObjectManager.cs
Normal file
29
DichtheitManagement/InspektionsObjectManager.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using DataStoring.Contract;
|
||||
using DichtheitManagement.Contract;
|
||||
using Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DichtheitManagement
|
||||
{
|
||||
public class InspektionsObjectManager : IInspektionsObjectManager
|
||||
{
|
||||
private readonly IRepository<Inspektionsobjekt> _repository;
|
||||
public InspektionsObjectManager(IRepository<Inspektionsobjekt> repository)
|
||||
{
|
||||
_repository = repository;
|
||||
}
|
||||
public void Add(Inspektionsobjekt inspektionsobjekt)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public List<Inspektionsobjekt> GetInspektionsobjekt(Bauvorhaben bauvorhaben)
|
||||
{
|
||||
return _repository.Get().Where(s => s.Bauvorhaben == bauvorhaben).ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user