Esempio n. 1
0
 private async Task <IEnumerable <int> > GetRepeaterListAsync()
 {
     try
     {
         using (var scope = AppSession.TypeContainer.BeginLifetimeScope())
         {
             var dbs = scope.Resolve <IDataBaseService>();
             return(await dbs.FetchRecordSetAsync(StudentSQL.SelectRepeater(UserSession.User.Settings.SchoolID.ToString(), UserSession.User.Settings.SchoolYear), (R) => R.GetInt32(0)));
         }
     }
     catch (Exception)
     {
         throw;
     }
 }