NotificationService, MessageService
This commit is contained in:
@@ -138,6 +138,9 @@ namespace FoodsharingSiegen.Server.Data.Service
|
||||
entityUser.Type = user.Type;
|
||||
entityUser.Verified = user.Verified;
|
||||
entityUser.Groups = user.Groups;
|
||||
|
||||
if (!Context.HasChanges())
|
||||
return new OperationResult(new Exception("Nichts zum Speichern gefunden"));
|
||||
|
||||
var saveR = await Context.SaveChangesAsync();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user