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