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; }
public UserService( AppDbContext context, UserManager <User> userManager, RoleManager <Role> roleManager, IMailjetService mailjetService, IUrlHelper urlHelper, ISharedResources localizer, IMapper mapper) { this.context = context; this.userManager = userManager; this.roleManager = roleManager; this.mailjetService = mailjetService; this.urlHelper = urlHelper; this.localizer = localizer; this.mapper = mapper; }