public JsonResult GetProjects() { var projects = pm.GetAllProjects(). Select(x => converter.ToProjectDto(x, x.ProjectSprints.Select(y => y.Sprint).ToList(), x.ProjectTags.Select(t => t.Tag).ToList())); return(Json(projects)); }
public JsonResult GetProjects() { var projects = pm.GetAllProjects(). Select(x => converter.ToProjectDto(x, x.ProjectSprints.Select(y => y.Sprint).ToList(), x.ProjectTags.Select(t => t.Tag).ToList())); return(Json(projects)); }