Exemple #1
0
        static void Main()
        {
            AngajatiContext context = new AngajatiContext();
            UserRepository  URepo   = new UserRepository(context);
            UserService     UServ   = new UserService(URepo);

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new LoginScreen(UServ));
        }
 public UserRepository(AngajatiContext c)
 {
     context = c;
 }