Ejemplo n.º 1
0
 public HomeController(IHAVAuthenticationService anAuthService, IHAVHomeService aService, IWhoIsOnlineService<User, WhoIsOnline> aWhoIsOnlineService)
 {
     theAuthService = anAuthService;
     theService = aService;
     theWhoIsOnlineService = aWhoIsOnlineService;
 }
Ejemplo n.º 2
0
 public HomeController()
 {
     theService = new HAVHomeService(new ModelStateWrapper(this.ModelState));
     theAuthService = new HAVAuthenticationService();
     theWhoIsOnlineService = new WhoIsOnlineService<User, WhoIsOnline>(new EntityHAVWhoIsOnlineRepository());
 }