Browse Source

Fix FixtureController

pull/122/head
Halil İbrahim Kalkan 9 years ago
parent
commit
beb9abb618
  1. 16
      src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/FixtureController.cs

16
src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/FixtureController.cs

@ -4,10 +4,10 @@ using Volo.Abp.AspNetCore.Mvc;
namespace Volo.Abp.Identity
{
//TODO: This is just a test controller and will be removed lster
[Route("api/identity/fixture")]
[ApiVersion("2.0", Deprecated = true)]
//TODO: This is just a test controller and will be removed later
[ApiVersion("3.0")]
[ApiVersion("2.0", Deprecated = true)]
[Route("api/v{api-version:apiVersion}/identity/fixture")]
public class FixtureController : AbpController, IRemoteService
{
[HttpGet]
@ -16,11 +16,11 @@ namespace Volo.Abp.Identity
return 42;
}
[HttpGet, MapToApiVersion("3.0")]
public int Get3()
{
return 42;
}
//[HttpGet, MapToApiVersion("3.0")]
//public int Get3()
//{
// return 42;
//}
[HttpPost]
public int Post()

Loading…
Cancel
Save