Exemple #1
0
 public override void Execute()
 {
     try
     {
         DAOAccountCoursePermit dao = new DAOAccountCoursePermit();
         result = dao.DeleteAccountCoursePermit(acpToDelete);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemple #2
0
 public override void Execute()
 {
     try
     {
         DAOAccountCoursePermit dao = new DAOAccountCoursePermit();
         results = dao.GetAllAccountsCoursesPermits();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public override void Execute()
 {
     try
     {
         DAOAccountCoursePermit dao = new DAOAccountCoursePermit();
         result = dao.AddCostCenter(acostCenterToInsert);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }