Durchlaufene Menu erzeugt

This commit is contained in:
HuskyTeufel
2022-05-30 17:04:24 +02:00
parent 455f57fd35
commit 7bf5d1ad05
16 changed files with 303 additions and 22 deletions

View 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();
}
}
}