diff --git a/CoviDok/Data/MySQL/MySqlCaseHandler.cs b/CoviDok/Data/MySQL/MySqlCaseHandler.cs index 9499502..34aeeb3 100644 --- a/CoviDok/Data/MySQL/MySqlCaseHandler.cs +++ b/CoviDok/Data/MySQL/MySqlCaseHandler.cs @@ -94,6 +94,7 @@ namespace CoviDok.Data.MySQL string[] forbidden = { "Updates" }; PropertyCopier.Copy(Case, c, forbidden); context.Updates.Add(update); + await context.SaveChangesAsync(); foreach (string ImageId in update.Images) { Image image = new Image