public InventoryController(IInventoryBusiness iInventoryBusiness = null, ICommandBus commandBus, IQueryBus queryBus)
 {
     this.commandBus         = commandBus;
     this.queryBus           = queryBus;
     this.iInventoryBusiness = iInventoryBusiness ??
                               GsbIoC.Instance.GetInstance <IInventoryBusiness>();
 }
 public InventoryController(IInventoryBusiness iInventoryBusiness = null)
 {
     this.iInventoryBusiness = iInventoryBusiness ??
                               GsbIoC.Instance.GetInstance <IInventoryBusiness>();
 }
 public InventoryController(ILogger <InventoryController> logger,
                            IInventoryBusiness iInventoryBusiness)
 {
     this._logger            = logger;
     this.iInventoryBusiness = iInventoryBusiness;
 }
Example #4
0
 public InventoryService()
 {
     this.iInventoryBusiness =
         SimpleIoC.Instance.GetInstance <IInventoryBusiness>();
 }
 public InventoryController(IInventoryBusiness iInventoryBusiness)
 {
     this.iInventoryBusiness = iInventoryBusiness;
 }