Dependency injection

This commit is contained in:
2026-03-18 17:17:37 +01:00
parent 463d1a6600
commit 9147c2c799
11 changed files with 153 additions and 27 deletions
@@ -0,0 +1,13 @@
using Microsoft.Extensions.DependencyInjection;
using Musify.Application.Contracts.Infrastructure;
namespace Musify.Infrastructure.Storage
{
public static class StorageDependencyInjection
{
public static void AddStorageHandler(this IServiceCollection serviceDescriptors)
{
serviceDescriptors.AddScoped<IStorageHandler, StorageHandler>();
}
}
}