using Features.ImageUploads.Repository; using Features.ImageUploads.Services; using Microsoft.Extensions.DependencyInjection; namespace Features.ImageUploads.DependencyInjection; /// Registers the services required by the PhotoUpload feature. public static class FeaturesPhotoUploadServiceCollectionExtensions { /// /// Registers and and their /// implementations. /// /// , for chaining. public static IServiceCollection AddFeaturesPhotoUpload(this IServiceCollection services) { services .AddScoped() .AddSingleton(); return services; } }