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 @@ public async Task SendAsync(IdentityMessage message)
db.AuditLogs.Add(new AuditLog("system", AuditLogLevel.Admin, $@"Failed to send email:
{ex}"));
db.SaveChanges();
await db.SaveChangesAsync();
}
return;
}