hopefully not a horribly foolish refactoring
This commit is contained in:
parent
59d660165f
commit
1ecaf64dea
82 changed files with 782 additions and 398 deletions
18
Femto.Modules.Blog/Application/IBlogModule.cs
Normal file
18
Femto.Modules.Blog/Application/IBlogModule.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
using Femto.Common.Domain;
|
||||
|
||||
namespace Femto.Modules.Blog.Application;
|
||||
|
||||
public interface IBlogModule
|
||||
{
|
||||
Task PostCommand(ICommand command, CancellationToken cancellationToken = default);
|
||||
|
||||
Task<TResponse> PostCommand<TResponse>(
|
||||
ICommand<TResponse> command,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
|
||||
Task<TResponse> PostQuery<TResponse>(
|
||||
IQuery<TResponse> query,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue