public RespuestaGeneral ProcesarOperacionUpdate(OperacionCubo operacion, long[,,] matriz, ref RespuestaGeneral respuestaGeneral) { respuestaGeneral = ValidarOperacionUpdate(operacion.InformacionOperacion, ref respuestaGeneral); if (respuestaGeneral.Estado) { ActualizarValor(operacion.InformacionOperacion, matriz); } return(respuestaGeneral); }
public RespuestaGeneral EjecutarUpdate(OperacionCubo operacion, long[,,] matriz) { respuestaGeneral = validacionDatos.ValidarOperacionUpdate(operacion.InformacionOperacion, ref respuestaGeneral); if (respuestaGeneral.EstadoOperacion) { ActualizarValor(operacion.InformacionOperacion, matriz); } return(respuestaGeneral); }
public RespuestaGeneral ProcesarOperacionQuery(OperacionCubo operacion, long[,,] matriz, ref RespuestaGeneral respuestaGeneral) { respuestaGeneral = ValidarOperacionQuery(operacion.InformacionOperacion, ref respuestaGeneral); if (!respuestaGeneral.Estado) { return(respuestaGeneral); } return(SumarValor(operacion.InformacionOperacion, matriz, ref respuestaGeneral)); }
public RespuestaGeneral EjecutarQuery(OperacionCubo operacion, long[,,] matriz) { respuestaGeneral = validacionDatos.ValidarOperacionQuery(operacion.InformacionOperacion, ref respuestaGeneral); if (!respuestaGeneral.EstadoOperacion) { return(respuestaGeneral); } AcumularValores(operacion.InformacionOperacion, matriz); return(respuestaGeneral); }