28 lines
641 B
C#
28 lines
641 B
C#
using Asp.Versioning;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Store.Framework.Repositorys;
|
|
using System.ComponentModel;
|
|
using System.Text.Json;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Store.Api.Controllers
|
|
{
|
|
//[ApiController]
|
|
//[ApiVersionNeutral]
|
|
//[Route("wxxd_user/[action]")]
|
|
//public class UserController : ControllerBase
|
|
//{
|
|
// private readonly IUserRepository _userRepository;
|
|
|
|
// public UserController(IUserRepository userRepository)
|
|
// {
|
|
// _userRepository = userRepository;
|
|
// }
|
|
// [HttpGet]
|
|
// public string GetUser()
|
|
// {
|
|
// return JsonSerializer.Serialize(_userRepository.Select.First());
|
|
// }
|
|
//}
|
|
}
|