using System; using System.ComponentModel.DataAnnotations; using MediatR; namespace HN.Application { public sealed class AddLinkCommand : IRequest { [Required] [Url] public string Url { get; set; } } }