Esempio n. 1
0
 public TaskObjectCollection GetAll()
 {
     TaskObjectCollection tasks;
     try
     {
         tasks = new TaskDataService().GetAll();
     }
     catch (System.Exception exception1)
     {
         System.Exception innerException = exception1;
         throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException);
     }
     return tasks;
 }
Esempio n. 2
0
 public TaskObjectCollection GetFilter(string dateFrom, string dateTo, string description)
 {
     TaskObjectCollection tasks;
     try
     {
         tasks = new TaskDataService().GetFilter(dateFrom, dateTo, description);
     }
     catch (System.Exception exception1)
     {
         System.Exception innerException = exception1;
         throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException);
     }
     return tasks;
 }