Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Commit 3bc3cfa

Browse files
committed
Aggiunte interfacce MediatR Command
1 parent 7bc45b8 commit 3bc3cfa

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
namespace NET6CustomLibrary.MediatR;
2+
3+
public interface ICommand<TResponse> : IRequest<TResponse>
4+
{
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
namespace NET6CustomLibrary.MediatR;
2+
3+
public interface ICommandHandler<TCommand, TResponse> : IRequestHandler<TCommand, TResponse> where TCommand : ICommand<TResponse>
4+
{
5+
}

0 commit comments

Comments
 (0)