public bool DeleteStatus(Status status) { if (status == null) return false; _unitOfWork.StatusRepository.Delete(status); _unitOfWork.Save(); return true; }
public bool EditStatus(Status status) { _unitOfWork.StatusRepository.Edit(status); _unitOfWork.Save(); return true; }
public bool AddStatus(Status status) { _unitOfWork.StatusRepository.Add(status); _unitOfWork.Save(); return true; }