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

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new GestDepApp(service));
        }
예제 #3
0
파일: Program.cs 프로젝트: joaeschu/3-
        static void Main(string[] args)
        {
            try
            {
                IGestDepService service = new GestDepService(new EntityFrameworkDAL(new GestDepDbContext()));

                new Program(service);
            }
            catch (Exception e)
            {
                printError(e);
            }
        }
예제 #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();
            }
        }
예제 #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();
        }