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