Example #1
0
 public UserService(
     AppDbContext context,
     UserManager <User> userManager,
     IUserSharedService userSharedService,
     IUserAccountService userAccountService,
     IMapper mapper)
 {
     this.context            = context;
     this.userManager        = userManager;
     this.userSharedService  = userSharedService;
     this.userAccountService = userAccountService;
     this.mapper             = mapper;
 }
Example #2
0
 public UserAccountService(
     AppDbContext context,
     UserManager <User> userManager,
     LinkGenerator linkGenerator,
     IUserSharedService userSharedService,
     IMailjetService mailjetService,
     IHttpContextAccessor httpContextAccessor,
     ISharedResources localizer)
 {
     this.context             = context;
     this.userManager         = userManager;
     this.linkGenerator       = linkGenerator;
     this.userSharedService   = userSharedService;
     this.mailjetService      = mailjetService;
     this.httpContextAccessor = httpContextAccessor;
     this.localizer           = localizer;
 }