예제 #1
0
        static void Main(string[] args)
        {
            IProductsRepository     product      = new ProductsRespository();
            IOrdersRepository       order        = new OrdersRespository();
            IOrderDetalisRepository orderDetalis = new OrderDetalisRepository();



            {
                bool showMenu = true;
                while (showMenu)
                {
                    showMenu = OrdersController.CreateOrderMenu(order, product, orderDetalis);

                    //showMenu = ProductController.MainMenu(product);
                }
            }
        }
예제 #2
0
 public IndexController()
 {
     productsRespository = new ProductsRespository();
 }