public ActionResult GetStatesByCountry(int id) { List <USPGetStatesResponse> myList = new List <USPGetStatesResponse>(); myList = _categoryManagementService.GetStates(id); return(Json(new { res = myList }, JsonRequestBehavior.AllowGet)); }
public ActionResult GetStatesByCountry(int id) { List <USPGetStatesResponse> myList = new List <USPGetStatesResponse>(); myList = _categoryManagementService.GetStates(id); return(Json(new { res = myList }, JsonRequestBehavior.AllowGet)); }