diff --git a/Controllers/SampleDataController.cs b/Controllers/SampleDataController.cs index 13f8c76..3a5a0b8 100644 --- a/Controllers/SampleDataController.cs +++ b/Controllers/SampleDataController.cs @@ -7,7 +7,8 @@ namespace AspNetCoreVueStarter.Controllers { [Route("api/[controller]")] - public class SampleDataController : Controller + [ApiController] + public class SampleDataController : ControllerBase { private static string[] Summaries = new[] {