Exemple #1
0
 public AccountController(IHttpRequest request, IUserDataService userDataService, IGameDataService gameDataService, HeaderPathFinder pathFinder)
     : base(request, userDataService, gameDataService, pathFinder)
 {
 }
Exemple #2
0
 public GameController(IHttpRequest request, IUserDataService userDataService, IGameDataService gameDataService, HeaderPathFinder pathFinder, Authenticator authenticator)
     : base(request, userDataService, gameDataService, pathFinder)
 {
     this.authenticator = authenticator;
 }
        protected BaseController(IHttpRequest request, IUserDataService userDataService, IGameDataService gameDataService, HeaderPathFinder pathFinder)
        {
            this.PathFinder      = pathFinder;
            this.Request         = request;
            this.UserDataService = userDataService;
            this.GameDataService = gameDataService;

            //Add the shopping cart immediately - so that no matter where we enter the site,it will always be present
            InitializeShoppingCart();
        }