Skip to content

Commit

Permalink
Merge pull request #15 from arisliang/master
Browse files Browse the repository at this point in the history
update api controller base.
  • Loading branch information
liborpansky authored Sep 23, 2019
2 parents f28922c + dce6361 commit ddbff5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Controllers/SampleDataController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
namespace AspNetCoreVueStarter.Controllers
{
[Route("api/[controller]")]
public class SampleDataController : Controller
[ApiController]
public class SampleDataController : ControllerBase
{
private static string[] Summaries = new[]
{
Expand Down

0 comments on commit ddbff5d

Please sign in to comment.