Beispiel #1
0
 public void IniTests()
 {
     // Runs before each test.
     dal = new EntityFrameworkDAL(new GestDepDbContext());
     dal.RemoveAllData();
     gestDepService = new GestDepService(dal);
 }
Beispiel #2
0
        static void Main()
        {
            IGestDepService service = new GestDepService(new EntityFrameworkDAL(new GestDepDbContext()));

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new GestDepApp(service));
        }
Beispiel #3
0
        static void Main(string[] args)
        {
            try
            {
                IGestDepService service = new GestDepService(new EntityFrameworkDAL(new GestDepDbContext()));

                new Program(service);
            }
            catch (Exception e)
            {
                printError(e);
            }
        }
Beispiel #4
0
        static void Main(string[] args)
        {
            try
            {
                IGestDepService service = new GestDepService(new EntityFrameworkDAL(new GestDepDbContext()));

                new Program(service);
            }
            catch (Exception e)
            {
                printError(e);
                Console.WriteLine("Press any key.");
                Console.ReadLine();
            }
        }
Beispiel #5
0
        static void Main(string[] args)
        {
            try
            {
                IGestDepService service =
                    new GestDepService(new EntityFrameworkDAL(new GestDepDbContext()));

                new testEnrrol(service);
            }
            catch (Exception e)
            {
                printError(e);
            }
            Console.WriteLine("test");
            Console.WriteLine("Press any key to continue...");
            Console.ReadKey();
        }