using Microsoft.AspNetCore.Mvc; using PlotLine.Services; namespace PlotLine.Controllers; public sealed class TimelineController(ITimelineService timeline) : Controller { public async Task Index(int projectId, int? bookId, int? selectedSceneId) { var model = await timeline.GetAsync(projectId, bookId, selectedSceneId); return model is null ? NotFound() : View(model); } }