コード例 #1
0
 public MemberController(ILogger <MemberController> logger,
                         ISaveAccountSvc saveAccountSvc,
                         IGetAccountsSvc getAccountsSvc,
                         IGetAccountSvc getAccountSvc,
                         IDeleteAccountSvc deleteAccountSvc,
                         IGetAccountByIdSvc getAccountByIdSvc) : base(logger)
 {
     _saveAccountSvc    = saveAccountSvc;
     _getAccountsSvc    = getAccountsSvc;
     _getAccountSvc     = getAccountSvc;
     _deleteAccountSvc  = deleteAccountSvc;
     _getAccountByIdSvc = getAccountByIdSvc;
 }
コード例 #2
0
 public DeleteAccountSvc(IGetAccountByIdSvc getAccountByIdSvc)
 {
     _getAccountByIdSvc = getAccountByIdSvc;
     base.SetValidator(new DeleteAccountServiceValidator());
 }