Ejemplo n.º 1
0
 private async Task LoadNumbers()
 {
     try
     {
         var list = ChatNumberBussines.GetAll().OrderByDescending(q => q.DateSabt).ToList();
         LogBindingSource.DataSource = list;
     }
     catch (Exception e)
     {
         WebErrorLog.ErrorInstence.StartErrorLog(e);
     }
 }
Ejemplo n.º 2
0
 private async Task LoadData(short type, string search = "")
 {
     try
     {
         var list = ChatNumberBussines.GetAll(cmbPanel.Text, type, search).OrderByDescending(q => q.DateSabt)
                    .ToList();
         LogBindingSource.DataSource = list;
     }
     catch (Exception e)
     {
         WebErrorLog.ErrorInstence.StartErrorLog(e);
     }
 }