Change route for RegularTestController.IncrementValue

pull/112/head
Halil İbrahim Kalkan 7 years ago
parent b6820e527b
commit 67fca93d0f

@ -4,12 +4,13 @@ using Volo.Abp.AspNetCore.Mvc;
namespace Volo.Abp.Http.DynamicProxying
{
[Route("api/regular-test-controller")]
[RemoteService] //Automatically enables API explorer and apply ABP conventions.
//[ApiExplorerSettings(IgnoreApi = false)] //alternative
public class RegularTestController : AbpController, IRegularTestController
{
[HttpGet]
[Route("api/regular-test-controller/{value}")]
[Route("increment/{value}")]
public int IncrementValue(int value)
{
return value + 1;

Loading…
Cancel
Save