public ShippingController(UserManager <AppUser> userManager, IShippingRepository shippingRepository,
                           IVenderRepository venderRepository, CSVService csvHandler, IMapper mapper, IERPRepository eRPRepository)
 {
     _mapper             = mapper;
     _shippingRepository = shippingRepository;
     _userManager        = userManager;
     _venderRepository   = venderRepository;
     _csvHandler         = csvHandler;
     _erpRepository      = eRPRepository;
 }
Exemplo n.º 2
0
 private void ResetRepositories()
 {
     _categoryRepository     = null;
     _menuRepository         = null;
     _menuGroupRepository    = null;
     _orderRepository        = null;
     _orderDetailsRepository = null;
     _productRepository      = null;
     _slidetRepository       = null;
     _venderRepository       = null;
 }
Exemplo n.º 3
0
 public ReceivingController(UserManager <AppUser> userManager, IShippingRepository shippingRepository,
                            IVenderRepository venderRepository, IERPRepository eRPRepository, IMapper mapper,
                            IReceivingItemRepository receivingItemRepository, IReceivingRepository receivingRepository,
                            IItemRepository itemRepository)
 {
     _mapper                  = mapper;
     _shippingRepository      = shippingRepository;
     _userManager             = userManager;
     _venderRepository        = venderRepository;
     _erpRepository           = eRPRepository;
     _receivingItemRepository = receivingItemRepository;
     _receivingRepository     = receivingRepository;
     _itemRepository          = itemRepository;
 }
Exemplo n.º 4
0
 public VenderServices(IVenderRepository repository, IVanderService vanderService, IMapper mapper)
 {
     _repository    = repository;
     _vanderService = vanderService;
     _mapper        = mapper;
 }
Exemplo n.º 5
0
 public VenderController(IVenderRepository venderRepository, CSVService csvHandler, IMapper mapper)
 {
     _mapper           = mapper;
     _venderRepository = venderRepository;
     _csvHandler       = csvHandler;
 }
Exemplo n.º 6
0
 public VenderServices(IVenderRepository repository)
 {
     _repository = repository;
 }