Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory`1[LinkUp.Admin.Models.User]': Unable to resolve service for type 'LinkUp.Admin.Data.AppDbContext' while attempting to activate code example

Example: Unable to resolve service for type 'Microsoft.AspNetCore.Identity.UserManager

services.AddIdentity<Automobile.Models.Account, IdentityRole>(options =>
    {
        options.User.RequireUniqueEmail = false;
    })
    .AddEntityFrameworkStores<Providers.Database.EFProvider.DataContext>()
    .AddDefaultTokenProviders();