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; }
public DeleteAccountSvc(IGetAccountByIdSvc getAccountByIdSvc) { _getAccountByIdSvc = getAccountByIdSvc; base.SetValidator(new DeleteAccountServiceValidator()); }