Пример #1
0
        public void Init()
        {
            repo = new SalRepository();

            s1 = new Sal("Store Sal", 1, (decimal)50000.00, 1740);
            s2 = new Sal("Sidescenen", 2, (decimal)37500.00, 600);
            repo.AddItem(s1);
            repo.AddItem(s2);
        }
        public void Init()
        {
            OErepo  = new ODEONEventRepository();
            Salrepo = new SalRepository();
            Katrepo = new KategoriRepository();
            GGRepo  = new GodtGørelsesRepository();
            control = new Controller(Salrepo, Katrepo, OErepo, GGRepo);

            dates.Add(new DateTime(2019, 5, 8));
            dates.Add(new DateTime(2019, 5, 28));
            dates.Add(new DateTime(2019, 6, 15));
            dates.Add(new DateTime(2019, 6, 20));

            //int IDEvent = control.IndskrivNavnOgDato(name, dates);
        }