public DashboardController()
 {
     provider = Membership.Provider;
     Unit = new UnitOfWork();
 }
Esempio n. 2
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();
            Unit = new UnitOfWork();

            RegisterGlobalFilters(GlobalFilters.Filters);
            RegisterRoutes(RouteTable.Routes);

            timer = new Timer(60000);
            timer.Elapsed += new ElapsedEventHandler(timer_Elapsed);
            timer.Enabled = true;
        }
Esempio n. 3
0
 public BaseController()
 {
     Unit = new UnitOfWork();
 }
Esempio n. 4
0
 void timer_Elapsed(object sender, ElapsedEventArgs e)
 {
     int? state =  new UnitOfWork().PokerBetSrvc.ChangeGameState();
     DoGeneralActions(state);
 }