public JsonResult cargarCboConcepto(int _case, string filtro) { try { if (ModelState.IsValid) { Caj_ConceptoDA objConceptoDA = new Caj_ConceptoDA(); return(Json(new { Success = 1, resultado = objConceptoDA.ListarConcepto(_case, filtro), Exception = "" })); } } catch (Exception e) { return(Json(new { Success = 0, ex = e.Message.ToString() })); } return(Json(new { Success = 0, ex = new Exception("No se puede Listar el Combo").Message.ToString() })); }
public ActionResult ListarConcepto(int _case, string filtro) { Caj_ConceptoDA objConceptoDA = new Caj_ConceptoDA(); return(PartialView("_ListarConcepto", objConceptoDA.ListarConcepto(_case, filtro))); }