public ActionResult Get_User_Elements(Bulk_Update_Element_User_Rights Element_user_rights) { IList <ElementDTO> Element_dto = _iElementRepository.Get_All_Parent_Child_Element_By_User_Id(Element_user_rights.userdto.Select(user_ids => user_ids.Id)); return(new JsonResult() { Data = Element_dto,//Element_user_dto, JsonRequestBehavior = JsonRequestBehavior.AllowGet, MaxJsonLength = Int32.MaxValue }); }