Error: Unable to resolve service for type 'Microsoft.AspNetCore.Http.HttpContext
Solution: There is a chance that you are trying to inject none Interface into a Class's Constructor. Remember, Dependency Injection works with Interfaces that have been registered with the Service Container in the Startup.cs Class file. When you try to inject HttpContext in the Constructor, the Error happens. For a solution to solve this problem see below:
Thank you bro.. it helped me..