// INDRA : FJQP CHANGE REQUEST ConfigMultiple y Capt. Contratos public bool EliminarDatosConfigMultiple(InsertConfigMultipleModel requestModel, string usuario) { try { SqlCommand command = new SqlCommand { CommandText = ConstStoredProcedures.SpDeleteConfigMultipleContratos }; command.Parameters.Add("@idAseguradora", SqlDbType.Int).Value = requestModel.Aseguradora; command.Parameters.Add("@idProducto", SqlDbType.Int).Value = requestModel.Producto; command.Parameters.Add("@idPerfil", SqlDbType.Int).Value = requestModel.Perfil; command.Parameters.Add("@idUsuario", SqlDbType.Int).Value = requestModel.Usuario; SqlDataReader datosStored = iGenericDataAccess.StoredProcedure(command); iGenericDataAccess.CloseConnection(); } catch (Exception e) { iGenericDataAccess.CloseConnection(); throw new DalException(Codes.ERR_00_01, e); } return(true); }
// INDRA : FJQP CHANGE REQUEST ConfigMultiple y Capt. Contratos public SingleResponse <bool> EliminarDatosConfigMultiple(InsertConfigMultipleModel requestModel) { return(iEmitirBusiness.EliminarDatosConfigMultiple(requestModel)); }