diff --git a/samples/WebKeyedService/CustomServicesApiController.cs b/samples/WebKeyedService/Controllers/CustomServicesApiController.cs similarity index 83% rename from samples/WebKeyedService/CustomServicesApiController.cs rename to samples/WebKeyedService/Controllers/CustomServicesApiController.cs index 6700f4f..c93c7ab 100644 --- a/samples/WebKeyedService/CustomServicesApiController.cs +++ b/samples/WebKeyedService/Controllers/CustomServicesApiController.cs @@ -1,6 +1,6 @@ -using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc; -namespace WebKeyedService; +namespace WebKeyedService.Controllers; [ApiController] [Route("/cache")] diff --git a/samples/WebKeyedService/Hubs/MyHub.cs b/samples/WebKeyedService/Hubs/MyHub.cs index fdd5c7b..adba701 100644 --- a/samples/WebKeyedService/Hubs/MyHub.cs +++ b/samples/WebKeyedService/Hubs/MyHub.cs @@ -1,12 +1,13 @@ -using Microsoft.AspNetCore.SignalR; +using Microsoft.AspNetCore.SignalR; namespace WebKeyedService.Hubs; - +// public class MyHub : Hub { public void Method([FromKeyedServices("small")] ICache cache) { Console.WriteLine(cache.Get("signalr")); } -} \ No newline at end of file +} +//