public UpdateStoreProductCommand( IRepository <CsmsBranchProduct> branchProductRepository, IGetProductByBranchIdQuery getProductByBranchIdQuery) { _branchProductRepository = branchProductRepository; _getProductByBranchIdQuery = getProductByBranchIdQuery; }
public BranchController( IGetProductByBranchIdQuery getProductByBranchIdQuery, IUpdateStoreProductCommand updateStoreProductCommand) { _getProductByBranchIdQuery = getProductByBranchIdQuery; _updateStoreProductCommand = updateStoreProductCommand; }