public InventoryController(IInventoryAppService inventoryAppService) { _inventoryAppService = inventoryAppService; }
public void MyTestInitialize() { _service = _kernel.Get <IInventoryAppService>(); }
public HomeController(IInventoryAppService inventoryAppService) { Contract.Requires <ArgumentNullException>(inventoryAppService != null, "inventoryAppService"); _inventoryAppService = inventoryAppService; }