WebApi + ClientApp, GraphQL, Reflection
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
using Events.WebAPI.Contract.DTOs;
|
||||
using MediatR;
|
||||
|
||||
namespace Events.WebAPI.Contract.Queries.Generic;
|
||||
|
||||
public class DoesItemExistsQuery<TDto, TPK> (TPK id) : IRequest<bool>, IHasIdAsPK<TPK>
|
||||
where TPK : IEquatable<TPK>
|
||||
{
|
||||
public TPK Id { get; set; } = id;
|
||||
}
|
||||
Reference in New Issue
Block a user