InvalidOperationException: Unable to resolve service for type ‘ ‘ while attempting to activate ‘ ‘
The second day I can not solve the problem in the project: Error in requests GET/POST.
InvalidOperationException: Unable to resolve service for type ‘ ‘ while attempting to activate ‘ ‘
The second day I can not solve the problem in the project: Error in requests GET/POST.
InvalidOperationException: Unable to resolve service for type ‘ ‘ while attempting to activate ‘ ‘
The second day I can not solve the problem in the project: Error in requests GET/POST.
InvalidOperationException: Unable to resolve service for type ‘ ‘ while attempting to activate ‘ ‘
The second day I can not solve the problem in the project: Error in requests GET/POST.
Adding example value in the schema of API
I have also enabled the annotations in my Program.cs
Api Controller Method Not Called but http 200 ok is returned
I added a controller to an existing application in which I call a method
How to return all records based on type of course?
The Course model has few properties, one of them is
public string CourseType { get; set; } = null!;