You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
646 B
26 lines
646 B
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace BBWY.Server.API.Controllers
|
|
{
|
|
public class TestController : BaseApiController
|
|
{
|
|
public TestController(IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor)
|
|
{
|
|
|
|
}
|
|
|
|
[HttpGet]
|
|
public IList<string> GetList()
|
|
{
|
|
return new List<string>() {
|
|
Guid.NewGuid().ToString(),
|
|
Guid.NewGuid().ToString(),
|
|
Guid.NewGuid().ToString(),
|
|
DateTime.Now.ToString()
|
|
};
|
|
}
|
|
}
|
|
}
|
|
|