18 lines
459 B
C#
18 lines
459 B
C#
using Femto.Common.Domain;
|
|
|
|
namespace Femto.Modules.Blog.Application;
|
|
|
|
public interface IBlogModule
|
|
{
|
|
Task Command(ICommand command, CancellationToken cancellationToken = default);
|
|
|
|
Task<TResponse> Command<TResponse>(
|
|
ICommand<TResponse> command,
|
|
CancellationToken cancellationToken = default
|
|
);
|
|
|
|
Task<TResponse> Query<TResponse>(
|
|
IQuery<TResponse> query,
|
|
CancellationToken cancellationToken = default
|
|
);
|
|
}
|