Exemplo n.º 1
0
        public void Bestellen()
        {
            List <Product> TestListProduct = new List <Product>();

            TestListProduct.Add(new Product()
            {
                Id = 1, Aantal = 3, CategorieId = 2, Actief = true, CategorieNaam = "Actie", Naam = "Morio", Prijs = "15", Tweedehands = false, Omschrijving = "lorum ipsum"
            });
            bool TestBool = Context.Bestellen(TestListProduct, 1);

            Assert.IsTrue(TestBool);
        }
Exemplo n.º 2
0
 public bool Bestellen(List <Product> Producten, long KlantID)
 {
     return(context.Bestellen(Producten, KlantID));
 }