Пример #1
0
 public SalesController(IGetSaleDetailQuery getSaleDetailQuery,
                        IGetSalesListQuery getSalesListQuery,
                        ICreateSaleCommand createSaleCommand)
 {
     _getSaleDetailQuery = getSaleDetailQuery;
     _getSalesListQuery  = getSalesListQuery;
     _createSaleCommand  = createSaleCommand;
 }
Пример #2
0
 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;
 }
Пример #4
0
 public SalesController(
     IGetSalesListQuery salesListQuery,
     IGetSaleDetailQuery saleDetailQuery,
     ICreateSaleViewModelFactory factory,
     ICreateSaleCommand createCommand)
 {
     _salesListQuery  = salesListQuery;
     _saleDetailQuery = saleDetailQuery;
     _factory         = factory;
     _createCommand   = createCommand;
 }
 public SalesController(
     IGetSalesListQuery salesListQuery,
     IGetSaleDetailQuery saleDetailQuery,
     ICreateSaleViewModelFactory factory,
     ICreateSaleCommand createCommand)
 {
     _salesListQuery = salesListQuery;
     _saleDetailQuery = saleDetailQuery;
     _factory = factory;
     _createCommand = createCommand;
 }