Exemplo n.º 1
0
 public ProductsController(IEmployerOrdersQuery employerOrdersQuery, IProductsCommand productsCommand, IOrdersQuery ordersQuery, ICreditsQuery creditsQuery, IAllocationsQuery allocationsQuery, IRecruitersQuery recruitersQuery, IOrganisationsQuery organisationsQuery)
 {
     _employerOrdersQuery = employerOrdersQuery;
     _productsCommand     = productsCommand;
     _ordersQuery         = ordersQuery;
     _creditsQuery        = creditsQuery;
     _allocationsQuery    = allocationsQuery;
     _recruitersQuery     = recruitersQuery;
     _organisationsQuery  = organisationsQuery;
 }
Exemplo n.º 2
0
 public ProductsController(
     IProductsQuery productsQuery,
     IProductOptionsQuery productOptionsQuery,
     IProductsCommand productsCommand,
     IProductsCommandValidator productsCommandValidator,
     IProductOptionsCommand productOptionsCommand,
     IProductOptionsCommandValidator productOptionsCommandValidator
     )
 {
     _productsQuery                  = productsQuery;
     _productOptionsQuery            = productOptionsQuery;
     _productsCommand                = productsCommand;
     _productOptionsCommand          = productOptionsCommand;
     _productOptionsCommandValidator = productOptionsCommandValidator;
     _productsCommandValidator       = productsCommandValidator;
 }