shopping-assistant-web-client/ShoppingAssistantWebClient.Web/Configurations/GlobalUserMiddlewareExtention.cs
2023-09-22 23:16:23 +03:00

13 lines
353 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;
}
}