Skip to content

Commit 379b68f

Browse files
committed
2 parents 2c5a6b2 + ddbff5d commit 379b68f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Controllers/SampleDataController.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
namespace AspNetCoreVueStarter.Controllers
88
{
99
[Route("api/[controller]")]
10-
public class SampleDataController : Controller
10+
[ApiController]
11+
public class SampleDataController : ControllerBase
1112
{
1213
private static string[] Summaries = new[]
1314
{

0 commit comments

Comments
 (0)