public bool DeleteProjectCode(ProjectCode projectCode) { if (projectCode == null) return false; _unitOfWork.ProjectCodeRepository.Delete(projectCode); _unitOfWork.Save(); return true; }
public bool EditProjectCode(ProjectCode projectCode) { _unitOfWork.ProjectCodeRepository.Edit(projectCode); _unitOfWork.Save(); return true; }
public bool AddProjectCode(ProjectCode projectCode) { _unitOfWork.ProjectCodeRepository.Add(projectCode); _unitOfWork.Save(); return true; }