hn-dotnet/Application/GetLink/GetLinkQuery.cs
2020-12-09 15:04:26 +01:00

17 lines
275 B
C#

using System;
using System.ComponentModel.DataAnnotations;
using MediatR;
namespace HN.Application
{
public sealed class GetLinkQuery : IRequest<LinkDTO>
{
[Required]
public Guid Id { get; set; }
public GetLinkQuery(Guid id)
{
Id = id;
}
}
}