public UserIdentityViewComponent(IUserIdentityRepository userIdentityRepository, IUserLoginIdentity userLoginIdentity, IHttpContextAccessor httpContextAccessor) { _userIdentityRepository = userIdentityRepository; _userLoginIdentity = userLoginIdentity; _httpContextAccessor = httpContextAccessor; }
public UserRepository(ApplicationDbContext applicationDbContext, IHttpContextAccessor httpContextAccessor, IUserIdentityRepository userIdentityRepository, IUserLoginIdentity userLoginIdentity) { _applicationDbContext = applicationDbContext; _httpContextAccessor = httpContextAccessor; _userIdentityRepository = userIdentityRepository; _userLoginIdentity = userLoginIdentity; }