From c5343803474d7d66d3f6a524e39ed719c6fa6a5a Mon Sep 17 00:00:00 2001 From: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> Date: Thu, 12 Oct 2023 14:52:56 -1000 Subject: [PATCH] Update Program.cs --- samples/KeyedServices/Program.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/KeyedServices/Program.cs b/samples/KeyedServices/Program.cs index 14378f9..87e71cb 100644 --- a/samples/KeyedServices/Program.cs +++ b/samples/KeyedServices/Program.cs @@ -10,8 +10,8 @@ builder.Services.AddControllers(); var app = builder.Build(); app.MapGet("/big", ([FromKeyedServices("big")] ICache bigCache) => bigCache.Get("date")); - -app.MapGet("/small", ([FromKeyedServices("small")] ICache smallCache) => smallCache.Get("date")); +app.MapGet("/small", ([FromKeyedServices("small")] ICache smallCache) => + smallCache.Get("date")); app.MapControllers(); @@ -48,4 +48,4 @@ public class MyHub : Hub { Console.WriteLine(cache.Get("signalr")); } -} \ No newline at end of file +}