Example #1
0
 public SyncService(
     GerontocracySettings gerontocracySettings,
     IHttpClientFactory clientFactory)
 {
     _clientFactory        = clientFactory;
     _gerontocracySettings = gerontocracySettings;
 }
Example #2
0
 public AccountService(
     IMailService mailService,
     IMapper mapper,
     GerontocracyContext context,
     UserManager <db.Account.User> userManager,
     SignInManager <db.Account.User> signInManager,
     RoleManager <db.Account.Role> roleManager,
     ILogger <AccountService> logger,
     GerontocracySettings settings)
 {
     this._mailService   = mailService;
     this._mapper        = mapper;
     this._context       = context;
     this._userManager   = userManager;
     this._signInManager = signInManager;
     this._roleManager   = roleManager;
     this._logger        = logger;
     this._settings      = settings;
 }
Example #3
0
 public MailService(GerontocracySettings gerontocracySettings, ISendGridClient sendGridClient)
 {
     this._sendGridClient       = sendGridClient;
     this._gerontocracySettings = gerontocracySettings;
 }