Am having this exception when Try it out under swagger of GET account/balance:
System.InvalidOperationException: Unable to resolve service for type 'Microsoft.AspNetCore.Http.IHttpContextAccessor' while attempting to activate 'Transaction.WebApi.Services.IdentityService'.
Solution, add this, as it not registered by default anymore:
services.TryAddSingleton<IHttpContextAccessor, HttpContextAccessor>();