public ReceivingController()
 {
     service = IoC.Resolve<IReceivingService>("ReceivingService");
     poService = IoC.Resolve<IPurchaseOrderService>("PurchaseOrderService");
     itemService = IoC.Resolve<IItemService>("ItemService");
     lotService = IoC.Resolve<ILotNumberService>("LotNumberService");
 }
Beispiel #2
0
 public ReceivingController()
 {
     service     = IoC.Resolve <IReceivingService>("ReceivingService");
     poService   = IoC.Resolve <IPurchaseOrderService>("PurchaseOrderService");
     itemService = IoC.Resolve <IItemService>("ItemService");
     lotService  = IoC.Resolve <ILotNumberService>("LotNumberService");
 }
 //Custom Code End
 //Custom Code Start | Replaced Code Block
 //Replaced Code Block Start
 //public ReceivingController(IReceivingService receivingService)
 //Replaced Code Block End
 public ReceivingController(IReceivingService receivingService, IInboundOrderLinesService inboundorderlinesService)
 //Custom Code End
 {
     _receivingService = receivingService;
     //Custom Code Start | Added Code Block
     _inboundorderlinesService = inboundorderlinesService;
     //Custom Code End
 }
 public PlayerService(IMapper mapper, ILogger <PlayerService> logger, IPlayerRepository playerRepository, IKickingService kickingService, IRushingService rushingService, IPassingService passingService, IReceivingService receivingService)
 {
     _playerRepository = playerRepository;
     _kickingService   = kickingService;
     _rushingService   = rushingService;
     _passingService   = passingService;
     _receivingService = receivingService;
     _logger           = logger;
     _mapper           = mapper;
 }
        public async Task FillAsync()
        {
            DialogsService   = _ioc.Resolve <IDialogsService>();
            SendingService   = _ioc.Resolve <ISendingService>();
            ContactsService  = _ioc.Resolve <IContactsService>();
            ReceivingService = _ioc.Resolve <IReceivingService>();
            ReceivingService.OnUpdateDialogs  += ReceivingService_OnUpdateDialogs;
            ReceivingService.OnUpdateContacts += ReceivingService_OnUpdateContacts;

            await ContactsService.FillContacts();

            await DialogsService.FillDialogList();
        }
 public ReceivingController(IReceivingService service)
 {
     _service = service;
 }