Audit all changes made in the admin view.

This commit is contained in:
2020-06-10 00:27:39 +01:00
parent c6941d1450
commit e111dc5e32
89 changed files with 516 additions and 236 deletions

View File

@@ -617,7 +617,7 @@ namespace Marechai.Pages.Admin.Details
{
try
{
await Service.CreateAsync(_model);
await Service.CreateAsync(_model, (await UserManager.GetUserAsync(_authState.User)).Id);
_addToDatabase = true;
}
catch(Exception e)