namespace ZeroFramework.DeviceCenter.API.Extensions.Tenants { public static class TenantMiddlewareExtensions { public static IServiceCollection AddTenantMiddleware(this IServiceCollection services) { return services.AddTransient(); } public static IApplicationBuilder UseTenantMiddleware(this IApplicationBuilder builder) { return builder.UseMiddleware(); } } }