From beb9abb61816f3fb35da000e7d67e9a303a7061f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Wed, 4 Oct 2017 11:24:45 +0300 Subject: [PATCH] Fix FixtureController --- .../Volo/Abp/Identity/FixtureController.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/FixtureController.cs b/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/FixtureController.cs index cd12153418..eca154f6ab 100644 --- a/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/FixtureController.cs +++ b/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()