Beispiel #1
0
 public bool DeleteActionType(Models.ActionTypes actionType)
 {
     if (actionType == null)
     {
         return(false);
     }
     _unitOfWork.ActionTypesRepository.Delete(actionType);
     _unitOfWork.Save();
     return(true);
 }
Beispiel #2
0
 public bool EditActionType(Models.ActionTypes actionType)
 {
     _unitOfWork.ActionTypesRepository.Edit(actionType);
     _unitOfWork.Save();
     return(true);
 }