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