Models hinzugefügt
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user