Exemple #1
0
        public async Task <Uri> CreateAuctionAsyncTests()
        {
            var          controller = new ValuesController();
            AuctionItems items      = new AuctionItems
            {
                auctionItemId = 1234, maxAutoBidAmountmax = 9500, BidderName = "ABC DealerShip"
            };
            Uri result = await controller.CreateAuctionAsync(items);

            Assert.AreEqual(result, "success");
            return(result);
        }