public JsonResult GetStateAndCountries() { try { var states = CommonBusiness.GetStates(); var countries = CommonBusiness.GetCountries(); var response = new ApiRespnoseWrapper { status = ApiRespnoseStatus.Success, results = new ArrayList() { states, countries } }; return(new JsonResult { Data = response, JsonRequestBehavior = JsonRequestBehavior.AllowGet }); } catch (Exception ex) { return(CommonBusiness.GetErrorResponse(ex.Message)); } }