Beispiel #1
0
 /// <summary>
 /// <see cref="CustomersGetService"/> クラスの新しいインスタンスを作成します。
 /// </summary>
 /// <param name="customersGetRepository">得意先マスタリストの取得リポジトリ。</param>
 /// <param name="logger">ロガー。</param>
 public CustomersGetService(
     ICustomersGetRepository customersGetRepository,
     ILogger <CustomersGetService> logger
     )
 {
     this._customersGetRepository = customersGetRepository;
     this._logger    = logger;
     this._outputDto = new CustomersGetOutputDto();
 }
Beispiel #2
0
 /// <summary>
 /// <see cref="CustomersPutService"/> クラスの新しいインスタンスを作成します。
 /// </summary>
 /// <param name="getRepository">取得リポジトリ。</param>
 /// <param name="putRepository">更新リポジトリ。</param>
 /// <param name="executor">実行者。</param>
 /// <param name="logger">ロガー。</param>
 public CustomersPutService(
     ICustomersGetRepository getRepository,
     ICustomersPutRepository putRepository,
     IExecutionModel executor,
     ILogger <CustomersPutService> logger
     )
 {
     this.GetRepository = getRepository;
     this.PutRepository = putRepository;
     this.Executor      = executor;
     this.Logger        = logger;
     this.Output        = new CustomersPutOutputDto();
 }