Ejemplo n.º 1
0
 public void ExecuteDeleteEvent(object sender, CommandEventArgs e)
 {
     try
     {
         _IVacationFacade.DeleteVacation(Convert.ToInt32(e.CommandArgument));
     }
     catch (ApplicationException ex)
     {
         _IVacationBaseListView.Message = ex.Message;
     }
 }
Ejemplo n.º 2
0
 public void DeleteEvent(object sender, CommandEventArgs e)
 {
     _IVacationFacade.DeleteVacation(Convert.ToInt32(e.CommandArgument));
     _ItsView.VacationList = _IVacationFacade.GetVacationByAccountID(_ItsView.Employee.Account.Id);
 }