mirror of
https://github.com/Shchoholiev/shopping-assistant-api.git
synced 2025-04-03 16:19:46 +00:00
13 lines
330 B
C#
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;
|
|
}
|
|
}
|