Exemplo n.º 1
0
 public bool DeleteMaster(Master master)
 {
     if (master == null) return false;
     _unitOfWork.MasterRepository.Delete(master);
     _unitOfWork.Save();
     return true;
 }
Exemplo n.º 2
0
 public bool EditMaster(Master master)
 {
     _unitOfWork.MasterRepository.Edit(master);
     _unitOfWork.Save();
     return true;
 }
Exemplo n.º 3
0
 public bool AddMaster(Master master)
 {
     _unitOfWork.MasterRepository.Add(master);
     _unitOfWork.Save();
     return true;
 }