public BlogService(IPandaDataProvider dataProvider, IMapper mapper, IMediaStorageService mediaStorageService, ISlugService slugService, IEmailService emailService, IDataProtectionProvider dataProtectionProvider, IGravatarService gravatarService, IReCaptchaValidator reCaptchaValidator) { _dataProvider = dataProvider; _mapper = mapper; _mediaStorageService = mediaStorageService; _slugService = slugService; _emailService = emailService; _protector = dataProtectionProvider.CreateProtector("Panda.BlogService"); _gravatarService = gravatarService; _reCaptchaValidator = reCaptchaValidator; }
protected MasterApiController(ApplicationUserManager userManager, ApplicationRoleManager roleManager, IAccountService accountService, IReCaptchaValidator reCaptchaValidator) { _userManager = userManager; _roleManager = roleManager; _accountService = accountService; _reCaptchaValidator = reCaptchaValidator; SetEmailTemplates(); }
public AccountController(IReCaptchaValidator reCaptchaValidator, IDbContext context) { _reCaptchaValidator = reCaptchaValidator; _context = context; }
public AccountApiController(ApplicationUserManager userManager, ApplicationRoleManager roleManager, IAccountService accountService, IReCaptchaValidator reCaptchaValidator) : base(userManager, roleManager, accountService, reCaptchaValidator) { }