Пример #1
0
        public void GetProductTotalTest()
        {
            ShoppingcartDetailsRepository repository = new ShoppingcartDetailsRepository();
            var shoppingcar = repository.GetProductTotal(1);

            Assert.IsTrue(shoppingcar > 0);
        }
Пример #2
0
        public decimal GetProductTotal(int Cid)
        {
            var shoppingcarRepository = new ShoppingcartDetailsRepository();

            return(shoppingcarRepository.GetProductTotal(Cid));
        }