using LFlow.Base.BusinessInterface; using LFlow.Base.Interfaces; using LFlow.Home.Models.DtoModel; using Microsoft.AspNetCore.Mvc; namespace LFlow.Home.Controllers; public class HomeController(IHomeService service) : BaseController { [HttpGet] public string Home(string id) { return service?.GetById(id)?.ToString() ?? "No service"; } }