shopping-assistant-web-client/ShoppingAssistantWebClient.Web/Configurations/GlobalUserMiddlewareExtention.cs
2023-10-15 15:18:09 +00:00

13 lines
365 B
C#

using ShoppingAssistantWebClient.Web.CustomMiddlewares;
namespace ShoppingAssistantWebClient.Web.Configurations;
public static class GlobalUserMiddlewareExtention
{
public static IApplicationBuilder ConfigureGlobalUserMiddleware(this IApplicationBuilder app)
{
app.UseMiddleware<GlobalUserMiddleware>();
return app;
}
}