public bool DeleteMaster(Master master) { if (master == null) return false; _unitOfWork.MasterRepository.Delete(master); _unitOfWork.Save(); return true; }
public bool EditMaster(Master master) { _unitOfWork.MasterRepository.Edit(master); _unitOfWork.Save(); return true; }
public bool AddMaster(Master master) { _unitOfWork.MasterRepository.Add(master); _unitOfWork.Save(); return true; }