Пример #1
0
 public static async Task <int> SaveChangesAsync(this Models.DatabaseContext ctx, Models.Log log, string userId, string desc)
 => await ctx.LogAsync(log, userId, desc);
Пример #2
0
 public static async Task <int> SaveChangesAsync(this Models.DatabaseContext ctx, Models.Log log)
 => await ctx.LogAsync(log, App.User.Identity.GetUserId());