using LFlow.Base.BusinessInterface; using LFlow.Base.Interfaces; using LFlow.Home.Models.DtoModel; using Microsoft.AspNetCore.Mvc; using Serilog; using Serilog.Core; namespace LFlow.Home.Controllers; public class HomeController(IHomeService service, ILogger logger) { [HttpGet] public string Home(string id) { logger.Information($"request id -> {id} _ hot_reload _ 1"); return service?.GetById(id)?.ToString() ?? "No service"; } }