diff --git a/src/Volo.Abp.Identity.HttpApi.Host/VersioningTests/CallsController.cs b/src/Volo.Abp.Identity.HttpApi.Host/VersioningTests/CallsController.cs new file mode 100644 index 0000000000..cf590e964a --- /dev/null +++ b/src/Volo.Abp.Identity.HttpApi.Host/VersioningTests/CallsController.cs @@ -0,0 +1,28 @@ +using System.Collections.Generic; +using Microsoft.AspNetCore.Mvc; +using Volo.Abp.Application.Dtos; +using Volo.Abp.AspNetCore.Mvc; + +namespace Volo.Abp.Identity.HttpApi.Host.VersioningTests +{ + [Route("api/calls")] + public class CallsController : AbpController + { + private static List _calls = new List + { + new CallDto {Id = 1, Number = "123456"}, + new CallDto { Id = 2, Number = "123457" } + }; + + [HttpGet] + public List GetList() + { + return _calls; + } + } + + public class CallDto : EntityDto + { + public string Number { get; set; } + } +}