public ProductController(IGetProductListQuery listQuery, IGetProductDetailsQuery detailsQuery, IUserProductsRepositoryFacade userProductsRepositoryFacade, IUserProductsFactory userProductsFactory) { _listQuery = listQuery; _detailsQuery = detailsQuery; _userProductsRepositoryFacade = userProductsRepositoryFacade; _userProductsFactory = userProductsFactory; }
public ProductsController( IGetProductListQuery getProductListQuery, IGetProductDetailQuery getProductDetailQuery, ICreateProductCommand createProductCommand) { _getProductListQuery = getProductListQuery; _getProductDetailQuery = getProductDetailQuery; _createProductCommand = createProductCommand; }
public ProductController(IGetProductListQuery getProductListQuery, ICreateProductViewModelFactory viewModelFactory, ICreateProductCommand createProductCommand, IDeleteProductCommand deleteProductCommand, IEditProductViewModelFactory editProductViewModelFactory, IUpdateProductCommand updateProductCommand) { this.getProductListQuery = getProductListQuery; this.viewModelFactory = viewModelFactory; this.createProductCommand = createProductCommand; this.deleteProductCommand = deleteProductCommand; this.editProductViewModelFactory = editProductViewModelFactory; this.updateProductCommand = updateProductCommand; }
public ProductController(IGetProductListQuery getProductListQuery) { _getProductListQuery = getProductListQuery; }
public CreateSaleViewModelFactory(IGetProductListQuery getProductListQuery) { this.getProductListQuery = getProductListQuery; }