public ActionResult SubareaIndex(string id) { sub_area s = new sub_area(); STUtil.SetSessionValue(UserInfo.pageTitle.ToString(), "SubArea"); IList <SelectListItem> list = new List <SelectListItem>(); ViewBag.country_id = new SelectList(countryUtil.GetCountrySelectList(), "Value", "Text"); ViewBag.state_id = list; ViewBag.city_id = list; ViewBag.area_id = list; return(View(s)); }
public ActionResult SubareaCreateEdit(sub_area sub_area) { result = subareaUtil.CreateEditSubArea(sub_area); return(Json(result)); }