RestierController has an Api property that fetches the ApiBase instance through the serviceprovider. Lets make the dependency clear by making it a constructor argument.
This can only be done when ASP.NET webapi actually uses DI as well, as normal ASP.NET webapi does not support constructor arguments on controllers. Question is whether this is a wanted side effect.
RestierController has an Api property that fetches the ApiBase instance through the serviceprovider. Lets make the dependency clear by making it a constructor argument.