My God, async is annoying.

This commit is contained in:
Michael 2017-05-17 21:44:32 -04:00
parent 6aa909c9bd
commit 7a595af37e

View file

@ -64,7 +64,7 @@ namespace Project_Unite
db.AuditLogs.Add(new AuditLog("system", AuditLogLevel.Admin, $@"Failed to send email: db.AuditLogs.Add(new AuditLog("system", AuditLogLevel.Admin, $@"Failed to send email:
{ex}")); {ex}"));
db.SaveChanges(); await db.SaveChangesAsync();
} }
return; return;
} }