NahidaImpact/NahidaImpact.Common/Data/Provider/ServiceCollectionExtensions.cs
2024-01-04 16:48:39 +03:00

10 lines
323 B
C#

using Microsoft.Extensions.DependencyInjection;
namespace NahidaImpact.Common.Data.Provider;
public static class ServiceCollectionExtensions
{
public static IServiceCollection UseLocalAssets(this IServiceCollection services)
{
return services.AddSingleton<IAssetProvider, LocalAssetProvider>();
}
}