예제 #1
0
 public async Task InicializarColeccionRecomendaciones(string TiendaID)
 {
     MongoDB db = new MongoDB();
     await db.createIndexRecomendation(TiendaID);
 }
예제 #2
0
 public async Task AgregarRecomendacionesUsuario(string TiendaID, DataRecomendacion dataRecomendacion)
 {
     MongoDB db = new MongoDB();
     await db.InsertProducts(TiendaID, dataRecomendacion);
 }
예제 #3
0
        public DataRecomendacion ObtenerRecomendacionesUsuario(string TiendaID, DataRecomendacion dataRecomendacion)
        {
            MongoDB db = new MongoDB();

            return(db.GetRecomendacionesUsuario(TiendaID, dataRecomendacion));
        }
예제 #4
0
 public async Task InicializarColeccionRecomendaciones(string TiendaID)
 {
     MongoDB db = new MongoDB();
     await db.createIndexRecomendation(TiendaID);
 }
예제 #5
0
 public async Task AgregarRecomendacionesUsuario(string TiendaID, DataRecomendacion dataRecomendacion)
 {
     MongoDB db = new MongoDB();
     await db.InsertProducts(TiendaID, dataRecomendacion);
 }
예제 #6
0
 public DataRecomendacion ObtenerRecomendacionesUsuario(string TiendaID, DataRecomendacion dataRecomendacion)
 {
     MongoDB db = new MongoDB();
     return db.GetRecomendacionesUsuario(TiendaID, dataRecomendacion);
 }