public class Program
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddScoped<IService, Service>();
if (result is null) return NotFound();
await mediator.Send(command, ct);
record Blog(string Slug, string Title);
try { /* ... */ } catch (Exception ex) { }
Task<IReadOnlyList<BlogSummary>>
[HttpGet("/api/blogs")]
=>
{ }
<>
&&
||
??
();