public SalesController(IGetSaleDetailQuery getSaleDetailQuery, IGetSalesListQuery getSalesListQuery, ICreateSaleCommand createSaleCommand) { _getSaleDetailQuery = getSaleDetailQuery; _getSalesListQuery = getSalesListQuery; _createSaleCommand = createSaleCommand; }
public SalesController( IGetSalesListQuery listQuery, IGetSaleDetailQuery detailQuery, ICreateSaleCommand createCommand) { _listQuery = listQuery; _detailQuery = detailQuery; _createCommand = createCommand; }
public SalesController(IGetSalesListQuery queryList, IGetSaleDetailQuery queryDetail, ISaleFactory saleFactory, ICreateSaleCommand createSaleCommand) { _queryList = queryList; _queryDetail = queryDetail; _saleFactory = saleFactory; _createSaleCommand = createSaleCommand; }
public SalesController( IGetSalesListQuery salesListQuery, IGetSaleDetailQuery saleDetailQuery, ICreateSaleViewModelFactory factory, ICreateSaleCommand createCommand) { _salesListQuery = salesListQuery; _saleDetailQuery = saleDetailQuery; _factory = factory; _createCommand = createCommand; }