示例#1
0
 private static async Task LogUserExit(long IdEvent)
 {
     try
     {
         using (var scope = AppSession.TypeContainer.BeginLifetimeScope())
         {
             var dbs = scope.Resolve <IDataBaseService>();
             await dbs.UpdateRecordAsync(UserSQL.LogOut(), new Tuple <string, object>("@IdRecord", IdEvent));
         }
     }
     catch (Exception)
     {
         throw;
     }
 }