Enable nuget package restore.
Do not inject in API controller.