shopping-assistant-api/ShoppingAssistantApi.Api/ApiExtentions/GlobalUserExtention.cs
2023-09-22 23:02:20 +03:00

13 lines
330 B
C#

using ShoppingAssistantApi.Api.CustomMiddlewares;
namespace ShoppingAssistantApi.Api.ApiExtentions;
public static class GlobalUserExtention
{
public static IApplicationBuilder AddGlobalUserMiddleware(this IApplicationBuilder app)
{
app.UseMiddleware<GlobalUserCustomMiddleware>();
return app;
}
}