public ItemApiController(ItemServiceInterface _itemService, ItemRepositoryInterface itemRepo, UnitRepositoryInterface unitRepo) { this._itemService = _itemService; _itemRepo = itemRepo; _unitRepo = unitRepo; }
public ItemController(IToastNotification toastNotification, ItemServiceInterface _itemService, ItemRepositoryInterface itemRepo, UnitRepositoryInterface unitRepo) { _toastNotification = toastNotification; this._itemService = _itemService; _itemRepo = itemRepo; _unitRepo = unitRepo; }