Durchlaufene Menu erzeugt
This commit is contained in:
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