예제 #1
0
        public void CanCreateBasket()
        {
            Guid basketId = repo.CreateBasket();

            Assert.IsNotNull(basketId);
            Assert.IsTrue(basketId != Guid.Empty);
        }
        public IHttpActionResult CreateBasket()
        {
            var result = repo.CreateBasket();

            return(Ok(result));
        }