WPF hinzugefügt

This commit is contained in:
Husky
2021-02-26 18:31:57 +01:00
parent 6761b17f4d
commit 746353e54e
34 changed files with 1261 additions and 37 deletions

View File

@@ -0,0 +1,27 @@
using DataStoring.Contract;
using DichtheitManagement.Contract;
using Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DichtheitManagement
{
public class BaustelleManager : IBaustelleManager
{
private readonly IRepository<Bauvorhaben> _repository;
public BaustelleManager(IRepository<Bauvorhaben> repository)
{
_repository = repository;
}
public void Add(Bauvorhaben bauvorhaben) => _repository.Insert(bauvorhaben);
public IQueryable<Bauvorhaben> GetAllBauvorhaben()
{
return _repository.Query;
}
}
}