public MV_Exception softDeleteCriteriosEvaluacion(Modelos.TBC_CAMPO_CRITERIO_EVALUACION criterio_evaluacion, int usuario_borra) { try { var res = H_LogErrorEXC.resultToException(_context.SP_TBC_CAMPO_CRITERIO_EVAL_DeleteRow(criterio_evaluacion.ID_CAMPO_CRITERIO_EVAL, usuario_borra).FirstOrDefault()); if (res.IDENTITY == null) { throw new System.Exception(res.ERROR_MESSAGE); } return(res); } catch (Exception e) { throw new Exception(e.Message); } }