public ListProjectForList GetCurrentProjects() { var projects = _destRepo.GetProjectsByStatus(1).ProjectTo <ProjectForListVm>(_mapper.ConfigurationProvider).ToList(); var projectsVm = new ListProjectForList() { Projects = projects, Count = projects.Count }; return(projectsVm); }