16 lines
397 B
C#
16 lines
397 B
C#
using Microsoft.Extensions.DependencyInjection;
|
|
using Tiku.Application.Security;
|
|
|
|
namespace Tiku.Application;
|
|
|
|
public static class DependencyInjection
|
|
{
|
|
public static IServiceCollection AddApplication(this IServiceCollection services)
|
|
{
|
|
services.AddScoped<ICurrentUser, CurrentUser>();
|
|
services.AddScoped<ICurrentTenant, CurrentTenant>();
|
|
|
|
return services;
|
|
}
|
|
}
|