fix injectionses
This commit is contained in:
parent
b93115d787
commit
cd078ca643
11 changed files with 119 additions and 55 deletions
|
@ -4,14 +4,14 @@ namespace Femto.Modules.Blog.Application;
|
|||
|
||||
public interface IBlogModule
|
||||
{
|
||||
Task PostCommand(ICommand command, CancellationToken cancellationToken = default);
|
||||
Task Command(ICommand command, CancellationToken cancellationToken = default);
|
||||
|
||||
Task<TResponse> PostCommand<TResponse>(
|
||||
Task<TResponse> Command<TResponse>(
|
||||
ICommand<TResponse> command,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
|
||||
Task<TResponse> PostQuery<TResponse>(
|
||||
Task<TResponse> Query<TResponse>(
|
||||
IQuery<TResponse> query,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue