public ActionResult changeDefaultAddress(AddressModel customeraddress) { var result = _customerRepository.changeDefaultAddress(Sanitizer.GetSafeHtmlFragment(customeraddress.CustomerId), Sanitizer.GetSafeHtmlFragment(customeraddress.Id)); return(JsonSuccess(result.Result, JsonRequestBehavior.AllowGet)); }