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

16 lines
229 B
C#

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