.NET & C# · Web API
What is a common mistake with dependency injection in APIs in Web API?
Putting all business logic in controllers or using a service locator creates tight coupling.
Putting all business logic in controllers or using a service locator creates tight coupling.