I am doing a project that use both .net framework and .net core.
I want to call repository that fetch data in API controller of .net core but i get the following error:
System.TypeLoadException: 'Could not load type 'System.Web.HttpContext' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.'
Pls help me, thank you.