hn-dotnet/Application/AddLink/AddLinkCommand.cs
2020-12-04 10:48:16 +01:00

16 lines
222 B
C#

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