Esempio n. 1
0
        public IActionResult Results()
        {
            //_experimentRepository.DeleteAllData();
            _experimentRepository.PrepareData();

            var results = new List <ResultViewModel>();

            results.Add(_experimentRepository.CreateProduct());
            results.Add(_experimentRepository.AddToShoppingCart());
            results.Add(_experimentRepository.CreateOrder());
            results.Add(_experimentRepository.GetOrderByNumber());
            results.Add(_experimentRepository.GetAllOrders());

            return(View(results));
        }