Beispiel #1
0
 public IActionResult PersonAlert(PersonAlertSearchModel model)
 {
     model = InitializePersonAlertModel(model);
     if (Request.IsAjaxRequest())
     {
         model = _customerApiClient.GetPersonAlerts(model).Result;
         return(PartialView("PersonAlert", model));
     }
     return(View(model));
 }
Beispiel #2
0
        public IActionResult Index(int personId)
        {
            var model = InitializeModel(null);

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