This commit is contained in:
john 2025-05-11 23:43:38 +02:00
parent 1ecaf64dea
commit cb9d5e332e
11 changed files with 72 additions and 69 deletions

View file

@ -4,6 +4,6 @@ namespace Femto.Modules.Media.Application;
public interface IMediaModule
{
Task<TResult> PostCommand<TResult>(ICommand<TResult> command);
Task<TResult> PostQuery<TResult>(IQuery<TResult> query);
Task<TResult> PostCommand<TResult>(ICommand<TResult> command, CancellationToken cancellationToken = default);
Task<TResult> PostQuery<TResult>(IQuery<TResult> query, CancellationToken cancellationToken = default);
}