14 lines
272 B
C#
14 lines
272 B
C#
using MediatR;
|
|
|
|
namespace Knot.Contracts.Admin.Abstractions;
|
|
|
|
public interface IQuery<TResponse> : IRequest<Result<TResponse>>
|
|
{
|
|
}
|
|
|
|
public interface IQueryHandler<TQuery, TResponse>
|
|
: IRequestHandler<TQuery, Result<TResponse>>
|
|
where TQuery : IQuery<TResponse>
|
|
{
|
|
}
|