constellation-api/CH.CQRS/SharedModule.cs

19 lines
503 B
C#

using CH.CQRS.Service.CryptoStats;
using CH.CQRS.Service.Energy;
using CH.CQRS.Service.User;
using CH.CryptoStats.Abstractions;
using Microsoft.Extensions.DependencyInjection;
using PoweredSoft.Module.Abstractions;
namespace CH.CQRS;
public class SharedModule : IModule
{
public IServiceCollection ConfigureServices(IServiceCollection services)
{
services.AddScoped<UserService>();
services.AddScoped<CryptoService>();
services.AddScoped<EnergyService>();
return services;
}
}