Пример #1
0
 public CostItemsController(
     IWriteRequestProcessor <CreateInvoiceCostItemRequest> createProcessor,
     ISimplePagedProcessor <ListInvoiceCostItemsRequest, BasicInvoiceCostItemContract> listProcessor,
     IWriteRequestProcessor <UpdateInvoiceCostItemRequest> updateProcessor
     )
 {
     _createProcessor = createProcessor;
     _listProcessor   = listProcessor;
     _updateProcessor = updateProcessor;
 }
Пример #2
0
 public CostItemsController(
     IWriteRequestProcessor <CreateQuoteCostItemRequest> createProcessor,
     ISimplePagedProcessor <ListQuoteCostItemsRequest, QuoteCostItemBasicContract> listProcessor,
     IRequestProcessor <GetQuoteCostItemRequest, QuoteCostItemContract> getProcessor,
     IWriteRequestProcessor <UpdateQuoteCostItemRequest> updateProcessor)
 {
     _createProcessor = createProcessor;
     _listProcessor   = listProcessor;
     _getProcessor    = getProcessor;
     _updateProcessor = updateProcessor;
 }
Пример #3
0
 public TasksController(
     IWriteRequestProcessor <CreateInvoiceTaskRequest> createProcessor,
     ISimplePagedProcessor <ListInvoiceTasksRequest, InvoiceTaskBasicContract> listProcessor,
     IRequestProcessor <GetInvoiceTaskRequest, InvoiceTaskContract> getProcessor,
     IWriteRequestProcessor <UpdateInvoiceTaskRequest> updateProcessor)
 {
     _createProcessor = createProcessor;
     _listProcessor   = listProcessor;
     _getProcessor    = getProcessor;
     _updateProcessor = updateProcessor;
 }
Пример #4
0
 public JobsController(
     ISimplePagedProcessor <ListCustomerJobsRequest, JobWithStatusContract> listCustomerJobsRequestProcessor)
 {
     _listCustomerJobsRequestProcessor = listCustomerJobsRequestProcessor;
 }