public ProfileService( UserManager <IdentityUser> userManager, IUserPersonalizationRepository userPersonalizationRepository, IUserIsFollowingRepository userIsFollowingRepository, ConduitDbContext context) { _userManager = userManager; _userPersonalizationRepository = userPersonalizationRepository; _userIsFollowingRepository = userIsFollowingRepository; _context = context; }
public UserService( SignInManager <IdentityUser> signInManager, UserManager <IdentityUser> userManager, IConfiguration config, ConduitDbContext context, ILoggerFactory loggerFactory, IUserPersonalizationRepository userPersonalizationRepository ) { _signInManager = signInManager; _userManager = userManager; _config = config; _context = context; _logger = loggerFactory.CreateLogger <UserService>(); _userPersonalizationRepository = userPersonalizationRepository; }