Exemplo n.º 1
0
        public ShoppingListsController(
            IItemShoppingListLinkRepository itemListLinkRepository,
            IShoppingListRepository shoppingListRepository,
            IShoppingUserRepository shoppingUserRepository,
            IItemEntityRepository itemRepository,
            IRepository <StoreEntity> storeRepository,
            IRepository <AddressEntity> addressRepository,
            IItemStoreLinkRepository itemStoreLinkRepository,
            IRepository <StoreMapEntity> storeMapRepository,
            IRepository <DepartmentEntity> departmentRepository,
            ILowerDepartmentRepository lowerDepartmentRepository,
            IAisleRepository aisleRepository,
            ISectionRepository sectionRepository,
            IShelfRepository shelfRepository,
            IShelfSlotsRepository shelfSlotsRepository,
            IUrlHelper urlHelper)
        {
            _itemListLinkRepository  = itemListLinkRepository;
            _storeRepository         = storeRepository;
            _addressRepository       = addressRepository;
            _shoppingListRepository  = shoppingListRepository;
            _shoppingUserRepository  = shoppingUserRepository;
            _itemRepository          = itemRepository;
            _itemStoreLinkRepository = itemStoreLinkRepository;
            _storeMapRepository      = storeMapRepository;
            _urlHelper = urlHelper;

            _departmentRepository      = departmentRepository;
            _lowerDepartmentRepository = lowerDepartmentRepository;
            _aisleRepository           = aisleRepository;
            _sectionRepository         = sectionRepository;
            _shelfRepository           = shelfRepository;
            _shelfSlotsRepository      = shelfSlotsRepository;
        }
        public UsersController(
            //UserManager<StoreUserEntity> storeUserManager,
            //SignInManager<StoreUserEntity> storeSignInManager,
            //UserManager<ShoppingUserEntity> shoppingUserManager,
            //SignInManager<ShoppingUserEntity> shoppingSignInManager,
            UserManager <BaseUserEntity> baseUserManager,
            SignInManager <BaseUserEntity> baseSignInManager,
            IShoppingUserRepository shoppingUserRepository,
            IStoreUserRepository storeUserRepository,
            IRepository <AdminUserEntity> adminUserRepository,
            IRepository <BaseUserEntity> baseUserRespository,
            IRepository <StoreEntity> storeRepository,
            IRepository <StoreMapEntity> storeMapRepository,
            IRepository <DepartmentEntity> departmentRepository,
            IRepository <AddressEntity> addressRepository,
            IShoppingListRepository shoppingListRepository,
            IItemShoppingListLinkRepository itemListLinkRepository,
            IItemEntityRepository itemRepository,
            IItemStoreLinkRepository itemStoreLinkRepository,
            ILowerDepartmentRepository lowerDepartmentRepository,
            IAisleRepository aisleRepository,
            ISectionRepository sectionRepository,
            IShelfRepository shelfRepository,
            IShelfSlotsRepository shelfSlotsRepository,
            IUrlHelper urlHelper)
        {
            _baseUserManager   = baseUserManager;
            _baseSignInManager = baseSignInManager;
            //_storeUserManager = storeUserManager;
            //_storeSignInManager = storeSignInManager;
            //_shoppingUserManager = shoppingUserManager;
            //_shoppingSignInManager = shoppingSignInManager;
            _shoppingUserRepository  = shoppingUserRepository;
            _storeUserRepository     = storeUserRepository;
            _adminUserRepository     = adminUserRepository;
            _baseUserRepository      = baseUserRespository;
            _storeRepository         = storeRepository;
            _addressRepository       = addressRepository;
            _shoppingListRepository  = shoppingListRepository;
            _itemListLinkRepository  = itemListLinkRepository;
            _itemRepository          = itemRepository;
            _itemStoreLinkRepository = itemStoreLinkRepository;
            _storeMapRepository      = storeMapRepository;

            _departmentRepository      = departmentRepository;
            _lowerDepartmentRepository = lowerDepartmentRepository;
            _aisleRepository           = aisleRepository;
            _sectionRepository         = sectionRepository;
            _shelfRepository           = shelfRepository;
            _shelfSlotsRepository      = shelfSlotsRepository;

            _urlHelper = urlHelper;
        }
Exemplo n.º 3
0
 public ItemShoppingListLinksController(
     IItemShoppingListLinkRepository itemListLinkRepository,
     IShoppingListRepository shoppingListRepository,
     IItemStoreLinkRepository itemStoreLinkRepository,
     IShoppingUserRepository shoppingUserRepository,
     IItemEntityRepository itemRepository
     )
 {
     _itemListLinkRepository  = itemListLinkRepository;
     _shoppingListRepository  = shoppingListRepository;
     _shoppingUserRepository  = shoppingUserRepository;
     _itemRepository          = itemRepository;
     _itemStoreLinkRepository = itemStoreLinkRepository;
 }