Ejemplo n.º 1
0
        public static List <Korting> All()
        {
            KortingSQLContext ksc = new KortingSQLContext();
            KortingRepository kr  = new KortingRepository(ksc);

            return(kr.RetrieveAll());
        }
Ejemplo n.º 2
0
        public void RetrieveAll()
        {
            KortingSQLContext ksc = new KortingSQLContext();
            KortingRepository kr  = new KortingRepository(ksc);

            List <Korting> list = kr.RetrieveAll();

            Assert.IsTrue(list.Count > 1);
        }