19 lines
346 B
C#
19 lines
346 B
C#
|
using MediatR;
|
|||
|
|
|||
|
namespace NetworkResurrector.Application.Commands
|
|||
|
{
|
|||
|
public abstract class Command<TResponse> : ICommand, IRequest<TResponse>
|
|||
|
{
|
|||
|
public Metadata Metadata { get; }
|
|||
|
|
|||
|
protected Command(Metadata metadata)
|
|||
|
{
|
|||
|
Metadata = metadata;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public interface ICommand
|
|||
|
{
|
|||
|
}
|
|||
|
}
|