public ActionResult ElimCargFam(Carg_Familiar CargFami) { try { using (CargFam = new EmpleadosEntities()) { var ElimCargFam = CargFam.Sp_Del_Carga_Familiar(CargFami.Rut_Benef); return(Json(ElimCargFam)); } } catch (Exception ex) { Logger.Error("Error On:", ex); Response.StatusCode = 500; Response.StatusDescription = ex.Message; return(Json(Response)); } }