Пример #1
0
        public void GetBidsTest()

        {
            //Arrange
            BidController bCtr = new BidController();
            bool          NotEmpty;

            //Act
            List <BidData> bidData = bCtr.GetBids(5);

            if (bidData.Count > 0)
            {
                NotEmpty = true;
            }
            else
            {
                NotEmpty = false;
            }

            //Assert
            Assert.IsTrue(NotEmpty);
        }
Пример #2
0
        public List <BidData> GetBids(int id)
        {
            BidController bCtr = new BidController();

            return(bCtr.GetBids(id));
        }