Example #1
0
 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;
 }
Example #2
0
 protected MasterApiController(ApplicationUserManager userManager, ApplicationRoleManager roleManager, IAccountService accountService, IReCaptchaValidator reCaptchaValidator)
 {
     _userManager = userManager;
     _roleManager = roleManager;
     _accountService = accountService;
     _reCaptchaValidator = reCaptchaValidator;
     SetEmailTemplates();
 }
Example #3
0
 public AccountController(IReCaptchaValidator reCaptchaValidator, IDbContext context)
 {
     _reCaptchaValidator = reCaptchaValidator;
     _context            = context;
 }
Example #4
0
 public AccountApiController(ApplicationUserManager userManager, ApplicationRoleManager roleManager, IAccountService accountService, IReCaptchaValidator reCaptchaValidator) : base(userManager, roleManager, accountService, reCaptchaValidator)
 {
 }