예제 #1
0
 public ServiciosProducto()
 {
     this.dibujante = new Dibujante();
     this.productosAlmacenados.Add(new Producto("Remera", "Adidas", "XL", 170));
     this.productosAlmacenados.Add(new Producto("Pantalon", "Adidas", "XL", 320));
     this.productosAlmacenados.Add(new Producto("Bufanda", "Bufanditas", "L", 120));
     this.productosAlmacenados.Add(new Producto("Pantalon", "Adidas", "XL", 320));
 }
 public VistaTarjetas(ServiciosTarjeta serviceTarjeta)
 {
     this.dibujante      = new Dibujante();
     this.serviceTarjeta = serviceTarjeta;
     this.opciones       = new string[] { "1 - Agregar tarjeta",
                                          "2 - Agregar beneficio",
                                          "3 - Listar tarjetas",
                                          "4 - Listar tarjetas con beneficio",
                                          "5 - Volver" };
 }
예제 #3
0
 public VistaCompras(Dibujante dibujante, VistaGestionCarro vistaGestionCarro, ServiciosCompra serviceCompra, ServiciosCliente serviceCliente)
 {
     this.vistaGestionCarro = vistaGestionCarro;
     this.serviceCompra     = serviceCompra;
     this.serviceCliente    = serviceCliente;
     this.dibujante         = dibujante;
     this.opciones          = new string[] { "1 - Agregar productos al carro",
                                             "2 - Identificar cliente",
                                             "3 - Volver" };
 }
예제 #4
0
 public VistaGestionCarro(Dibujante dibujante, ServiciosProducto serviceProducts, ServiciosCompra serviceCompra)
 {
     this.serviceProducts = serviceProducts;
     this.serviceCompra   = serviceCompra;
     this.dibujante       = dibujante;
     this.opciones        = new string[] { "1 - Agregar item al carro",
                                           "2 - Quitar item del carro",
                                           "3 - Listar items del carro",
                                           "4 - Volver" };
 }
 public VistaProductos(Dibujante dibujante, ServiciosProducto serviceProducts, ServiciosPromociones servicePromociones)
 {
     this.dibujante          = dibujante;
     this.serviceProducts    = serviceProducts;
     this.servicePromociones = servicePromociones;
     this.opciones           = new string[] { "1 - Dar de alta productos",
                                              "2 - Dar de alta promociones",
                                              "3 - Listar Productos",
                                              "4 - Listar Promociones",
                                              "5 - Volver" };
 }
예제 #6
0
 public VistaAdministracion(ServiciosCompra serviceCompra, ServiciosCliente serviceCliente, ServiciosTarjeta serviceTarjeta)
 {
     this.serviceCliente = serviceCliente;
     this.serviceCompra  = serviceCompra;
     this.serviceTarjeta = serviceTarjeta;
     this.dibujante      = new Dibujante();
     this.opciones       = new string[] { "1 - Total vendido en la tienda On-line",
                                          "2 - Total vendido por cliente",
                                          "3 - Total vendido por tarjeta",
                                          "4 - Volver" };
 }