Esempio n. 1
0
 async Task <int> UpdateStudentAllocationAsync(dlgStudent dlg, int idAllocation)
 {
     using (var scope = AppSession.TypeContainer.BeginLifetimeScope())
     {
         var dbs = scope.Resolve <IDataBaseService>();
         return(await dbs.UpdateRecordAsync(StudentSQL.UpdateStudentAllocation(), CreateAllocationParamWithValue(dlg, idAllocation)));
     }
 }