17 lines
432 B
C#
17 lines
432 B
C#
using CH.CQRS.Service.CryptoStats;
|
|
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>();
|
|
return services;
|
|
}
|
|
}
|