chatbot/Chatbot.Application/Commands/Command.cs

19 lines
339 B
C#
Raw Normal View History

2020-06-06 18:29:20 +03:00
using MediatR;
namespace Chatbot.Api.Application.Commands
{
public abstract class Command<TResponse> : ICommand, IRequest<TResponse>
{
public Metadata Metadata { get; }
protected Command(Metadata metadata)
{
Metadata = metadata;
}
}
public interface ICommand
{
}
}