public void Addtocart()
 {
     _repo.AddToCart(new Cart()
     {
         Id            = 22,
         Itemid        = 11,
         Categoryid    = 87,
         Subcategoryid = 75,
         Itemname      = "doll",
         Price         = 20,
         Description   = "games",
         Stocknumber   = 30,
         Remarks       = "super",
         Sellerid      = 1,
         Buyerid       = 4,
         Imagepath     = "games.jpg"
     });
 }
        public void TestAddToCart()
        {
            _repo.AddToCart(new Cart()
            {
                Cartid      = 33,
                Buyerid     = 1,
                Categoryid  = 3,
                Description = "notbad",
                Itemid      = 55,
                Imagepath   = "46.jpg",

                Price         = 785,
                Sellerid      = 1,
                Stocknumber   = 1,
                SubCategoryid = 3,
            });
            var x = _repo.GetCart(2);

            Assert.IsNotNull(x);
        }