public ActionResult GrabaCargos(Cargos cargos) { try { using (var Cargos = new EmpleadosEntities()) { var GrabaCarg = Cargos.Sp_Ins_Cargos(cargos.Descr_Cargo); return(Json(GrabaCarg)); } } catch (Exception ex) { Logger.Error("Error On:", ex); Response.StatusCode = 500; Response.StatusDescription = ex.Message; return(Json(Response)); } }