constellation-api/CH.CQRS/CommandModule.cs

23 lines
561 B
C#

using CH.CQRS.Command.CryptoStats;
using CH.CQRS.Command.User;
using Microsoft.Extensions.DependencyInjection;
using PoweredSoft.Module.Abstractions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CH.CQRS.Command.Energy;
namespace CH.CQRS;
public class CommandModule : IModule
{
public IServiceCollection ConfigureServices(IServiceCollection services)
{
services.AddUserCommand();
services.AddCryptoCommand();
services.AddEnergyCommand();
return services;
}
}