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 _repository; public InspektionsObjectManager(IRepository repository) { _repository = repository; } public void Add(Inspektionsobjekt inspektionsobjekt) { throw new NotImplementedException(); } public List GetInspektionsobjekt(Bauvorhaben bauvorhaben) { return _repository.Get().Where(s => s.Bauvorhaben == bauvorhaben).ToList(); } } }