Sewerpoints und Objektnummern hinzugefügt
This commit is contained in:
@@ -40,7 +40,11 @@ namespace DaSaSo.EntityFramework.Services
|
||||
{
|
||||
using (DaSaSoDbContext context = _contextFactory.CreateDbContext())
|
||||
{
|
||||
SewerObject? s = await context.SewerObjects.Include("BuildingSite").FirstOrDefaultAsync((e) => e.Id == id);
|
||||
SewerObject? s = await context.SewerObjects
|
||||
.Include("BuildingSite")
|
||||
.Include("PunktOben")
|
||||
.Include("PunktUnten")
|
||||
.FirstOrDefaultAsync((e) => e.Id == id);
|
||||
return s;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user