Models hinzugefügt

This commit is contained in:
HuskyTeufel
2021-09-12 20:05:24 +02:00
parent 798870879a
commit 18d552a228
13 changed files with 917 additions and 4 deletions

View File

@@ -65,8 +65,8 @@ namespace DaSaSo.EntityFramework.Services
using (DaSaSoDbContext context = _contextFactory.CreateDbContext())
{
entity.Id = id;
await context.Set<T>().Update(entity);
context.Set<T>().Update(entity);
await context.SaveChangesAsync();
return entity;
}
}