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