Esempio n. 1
0
 public IEnumerable <ProjectStatusDto> GetProjectStatus()
 {
     return(_projectStatusRepository.GetAll().Select(ps => new ProjectStatusDto
     {
         Code = ps.statuscode,
         Name = ps.statusname
     }));
 }
Esempio n. 2
0
 public IList <ProjectStatus> GetAll()
 {
     return(projectStatusRepository.GetAll());
 }