blob: a9c0e5f24cb7ed572bd6bad40f6469a38c11f69c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace CrupestApi.Commons.Secrets;
public static class SecretServiceCollectionExtensions
{
public static IServiceCollection AddSecrets(this IServiceCollection services)
{
services.TryAddScoped<ISecretService, SecretService>();
return services;
}
}
|