예제 #1
0
        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));
        }