public JsonResult ListaProv(string cId) { ConstanteLN oConstLN = new ConstanteLN(); List<Constante> lstProv = new List<Constante>(); lstProv = oConstLN.ListaProvincia(cId); return Json(JsonConvert.SerializeObject(lstProv)); }
public JsonResult ListaDist(string cId) { ConstanteLN oConstLN = new ConstanteLN(); List<Constante> lstDist = new List<Constante>(); lstDist = oConstLN.ListaDistrito(cId); return Json(JsonConvert.SerializeObject(lstDist)); }
public JsonResult ListaDep() { ConstanteLN oConstLN = new ConstanteLN(); List<Constante> lstDep = new List<Constante>(); lstDep = oConstLN.ListaDepartamento(); return Json(JsonConvert.SerializeObject(lstDep)); }