예제 #1
0
        public ActionResult RequirementGroupSelect(string projectId)
        {
            RequirementService         requirementService = new RequirementService();
            List <RequirementGroupDto> lst = new List <RequirementGroupDto>();

            List <RequirementGroupDto> list = requirementService.RequirementGroupSearch(projectId, UserInfo.UserId);

            foreach (RequirementGroupDto dto in list)
            {
                if (dto.ApplyStatusCode == "完成")
                {
                    lst.Add(dto);
                }
            }

            return(PartialView("_PartialDemandBookGroupSelect", lst));
            // return Json(new { List = list });
        }
        public ActionResult RequirementGroupSearch(string projectId)
        {
            List <RequirementGroupDto> list = requirementService.RequirementGroupSearch(projectId, UserInfo.UserId);

            return(Json(new { List = list }));
        }