public InventorySetsController(IInventorySetsView view, User user)
        {
            _view = view;
            _user = user;

            _userSetService  = new UserSetService();
            _lSetService     = new LSetService();
            _themeRepository = new Repository <Theme>();

            _currQuery = _userSetService.GetAllForUser(user.Id);
        }
Exemplo n.º 2
0
        public BuilderAssistantController(IBuilderAssistantView view, User user)
        {
            _view = view;
            _user = user;

            _userSetService  = new UserSetService();
            _lSetService     = new LSetService();
            _themeRepository = new Repository <Theme>();

            _result    = _lSetService.BuilderAssistent(user.Id);
            _currQuery = _result.AsQueryable();
        }
Exemplo n.º 3
0
        public MOCController(IFormsFactory factory, IMOCView view)
        {
            _factory = factory;
            _view    = view;

            _MOCService      = new MOCService();
            _wishlistService = new WishlistService();
            _userSetService  = new UserSetService();

            _themeRepository = new Repository <Theme>();
            _currQuery       = _MOCService.GetAll();
        }
        public DatabaseSetsController(IFormsFactory factory, IDatabaseSetsView view, User user)
        {
            _factory = factory;
            _view    = view;
            _user    = user;

            _lSetService     = new LSetService();
            _wishlistService = new WishlistService();
            _userSetService  = new UserSetService();

            _themeRepository = new Repository <Theme>();
            _currQuery       = _lSetService.GetAll();
        }