Skip to content

Commit ddbff5d

Browse files
authored
Merge pull request #15 from arisliang/master
update api controller base.
2 parents f28922c + dce6361 commit ddbff5d

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)