namespace Monitoring.Repositories;

public static class DependencyInjectionExtensions
{
	public static IServiceCollection AddRepositories(this IServiceCollection services)
	{
		_ = services.AddScoped<OrganizationRepository>();
		_ = services.AddScoped<UserRepository>();
		_ = services.AddScoped<RoleRepository>();
		_ = services.AddScoped<AssetRepository>();
		_ = services.AddScoped<EventCodeRepository>();
		_ = services.AddScoped<UserSettingsRepository>();
		_ = services.AddScoped<UserLogRepository>();

		return services;
	}
}
