public List <ProjectListModel> GetProjectListing(string userId) { List <Project> projects = _projectRepository.GetProjectForUser(userId); return(CustomMapper.Map <Project, ProjectListModel>(projects).ToList()); }
private IEnumerable <ProjectModel> GetProjects(Specification <Project> specification) { List <Project> projects = _projectRepository.GetProjects(specification); return(CustomMapper.Map <Project, ProjectModel>(projects).ToList()); }
public List <IssueMasterModel> GetIssueTypeList() { List <IssueTypeMaster> data = _masterRepository.GetIssueTypeList(); return(CustomMapper.Map <IssueTypeMaster, IssueMasterModel>(data).ToList()); }