예제 #1
0
 public bool DeleteProjectCode(ProjectCode projectCode)
 {
     if (projectCode == null) return false;
     _unitOfWork.ProjectCodeRepository.Delete(projectCode);
     _unitOfWork.Save();
     return true;
 }
예제 #2
0
 public bool EditProjectCode(ProjectCode projectCode)
 {
     _unitOfWork.ProjectCodeRepository.Edit(projectCode);
     _unitOfWork.Save();
     return true;
 }
예제 #3
0
 public bool AddProjectCode(ProjectCode projectCode)
 {
     _unitOfWork.ProjectCodeRepository.Add(projectCode);
     _unitOfWork.Save();
     return true;
 }