public AccountController(ILogger <AccountController> logger,
                          IGetAccountSvc getAccountSvc,
                          IGetAccountsSvc getAccountsSvc,
                          ISaveAccountSvc saveAccountSvc,
                          IDeleteAccountSvc deleteAccountSvc) : base(logger)
 {
     _getAccountSvc    = getAccountSvc;
     _getAccountsSvc   = getAccountsSvc;
     _saveAccountSvc   = saveAccountSvc;
     _deleteAccountSvc = deleteAccountSvc;
 }
Exemplo n.º 2
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;
 }
 public SaveAccountSvc(IGetAccountSvc getAccountSvc)
 {
     base.SetValidator(new Validator());
     _getAccountSvc = getAccountSvc;
 }
Exemplo n.º 4
0
 public AuthorizeController(ILogger <AuthorizeController> logger,
                            IGetAccountSvc svc)
     : base(logger)
 {
     _svc = svc;
 }
 public JwtTokenController(ILogger <JwtTokenController> logger,
                           IGetAccountSvc getAccountSvc) : base(logger)
 {
     _getAccountSvc = getAccountSvc;
 }
 public SaveAccountSvc(IGetAccountSvc getAccountSvc)
 {
     _getAccountSvc = getAccountSvc;
 }
 public DeleteAccountSvc(IGetAccountSvc getAccountSvc)
 {
     _getAccountSvc = getAccountSvc;
 }