https://puresourcecode.com/dotnet/asp-net/the-current-type-is-an-interface-and-cannot-be-constructed-are-you-missing-a-type-mapping/
The current type, is an interface and cannot be constructed. Are you missing a type mapping?