コード例 #1
0
 public CustomerController(IMapper mapper,
                           ICustomerQueryService customerQueryService,
                           ICustomerCommandService customerCommandService)
 {
     _mapper = mapper;
     _customerQueryService   = customerQueryService;
     _customerCommandService = customerCommandService;
 }
コード例 #2
0
 public CustomerController(ICustomerQueryService queryService, ICustomerCommandService commandService)
 {
     _command = commandService;
     _query   = queryService;
 }
コード例 #3
0
ファイル: CustomerController.cs プロジェクト: snowpl/CRUD
 public CustomerController(ICustomerCommandService customerCommandService,
                           ICustomerQueryService customerQueryService)
 {
     _customerCommandService = customerCommandService;
     _customerQueryService   = customerQueryService;
 }