|
|
|
@ -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; |
|
|
|
|