17 lines
426 B
C#
17 lines
426 B
C#
using LFlow.Base.Interfaces;
|
|
using LFlow.Base.Interfaces.BusinessInterface;
|
|
using LFlow.User.Model.Dto;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace LFlow.User.Controllers
|
|
{
|
|
public class UserController(IUserService<UserDto> service) : BaseController
|
|
{
|
|
[HttpGet]
|
|
public string Get(string id)
|
|
{
|
|
return service?.GetById(id)?.ToString() ?? "No service";
|
|
}
|
|
}
|
|
}
|