Klassen erweitert

This commit is contained in:
Husky
2020-02-21 09:50:32 +01:00
parent 5798fc6108
commit fc144554a5
18 changed files with 596 additions and 192 deletions

View File

@@ -9,7 +9,7 @@ namespace KanSan.Base
public class UnitOfWork : IUnitOfWork
{
private KanSanContext _dbContext;
private BaseRepository<Baustelle> _baustellen;
private BaseRepository<Projekt> _baustellen;
private BaseRepository<Kunde> _kunden;
public UnitOfWork(KanSanContext dbContext)
@@ -17,11 +17,11 @@ namespace KanSan.Base
_dbContext = dbContext;
}
public IRepository<Baustelle> BaustellenRepository
public IRepository<Projekt> BaustellenRepository
{
get
{
return _baustellen ?? (_baustellen = new BaseRepository<Baustelle>(_dbContext));
return _baustellen ?? (_baustellen = new BaseRepository<Projekt>(_dbContext));
}
}