예제 #1
0
 public IActionResult PersonCase(PersonCaseSearchModel model)
 {
     model = InitializePersonCaseModel(model);
     if (Request.IsAjaxRequest())
     {
         model = _customerApiClient.GetPersonCases(model).Result;
         return(PartialView("PersonCase", model));
     }
     return(View(model));
 }
예제 #2
0
        public IActionResult Index(int personId)
        {
            var model = InitializeModel(null);

            model.PersonId = personId;
            if (Request.IsAjaxRequest())
            {
                model = _customerFacadeApiClient.GetPersonCases(model).Result;
                return(PartialView("Index", model));
            }
            return(View(model));
        }