nandel_Nandel_StickyNotes/src/Application/Commands/SetText/SetTextCommand.cs
using MediatR;

namespace Nandel.StikyNotes.Application.Commands.SetText
{
    public record SetTextCommand : IRequest
    {
        public string Key { get; set; }
        public string Content { get; set; }
    
        public SetTextCommand()
        { }
    
        public SetTextCommand(string key, string content)
        {
            Key = key;
            Content = content;
        }
    }
}