Fix router address to action
This commit is contained in:
parent
9757cbea45
commit
22fbb522d2
|
@ -6,7 +6,7 @@ using Microsoft.AspNetCore.Mvc;
|
|||
namespace LFlow.Home.Controllers;
|
||||
public class HomeController(IHomeService<HomeDto, string> service) : BaseController
|
||||
{
|
||||
[HttpGet("/[controller]/")]
|
||||
[HttpGet]
|
||||
public string Home(string id)
|
||||
{
|
||||
return service?.GetById(id)?.ToString() ?? "No service";
|
||||
|
|
Loading…
Reference in New Issue