14 lines
291 B
C#
14 lines
291 B
C#
using Application.Common.Models;
|
|
using MediatR;
|
|
|
|
namespace Application.Interfaces;
|
|
|
|
public interface IRequestWrapper<T> : IRequest<ServiceResult<T>>
|
|
{
|
|
|
|
}
|
|
|
|
public interface IRequestHandlerWrapper<TIn, TOut> : IRequestHandler<TIn, ServiceResult<TOut>> where TIn : IRequestWrapper<TOut>
|
|
{
|
|
|
|
} |