public ActionResult NoDefaultAddress() { string customerId = _sessionContext.CurrentUser != null?Convert.ToString(_sessionContext.CurrentUser.UserId) : string.Empty; if (!string.IsNullOrEmpty(customerId)) { var response = _customerRepository.NoDefaultAddress(customerId); return(JsonSuccess(response, JsonRequestBehavior.AllowGet)); } return(null); }