Leitungen können nun bearbeitet werden
This commit is contained in:
@@ -35,9 +35,14 @@ namespace DaSaSo.EntityFramework.Services
|
||||
return await _nonQueryDataService.Delete(id);
|
||||
}
|
||||
|
||||
public Task<Buildingsite> Get(int id)
|
||||
public async Task<Buildingsite> Get(int id)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
using (DaSaSoDbContext context = _contextFactory.CreateDbContext())
|
||||
{
|
||||
Buildingsite entity = await context.Buildingsites.FirstOrDefaultAsync((e) => e.Id == id);
|
||||
|
||||
return entity;
|
||||
}
|
||||
}
|
||||
|
||||
public Task<IEnumerable<Buildingsite>> GetAll()
|
||||
|
||||
Reference in New Issue
Block a user