Files
qrcodeService/QRCodeService/Application/Commands/CreateLinkCommand.cs

22 lines
520 B
C#

using Domain.AggregateModel.LinkAggregate;
using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QRCodeService.Application.Commands
{
public class CreateLinkCommand : IRequest<Link>
{
public int AppId { get; set; }
public string SuffixUrl { get; set; }
public CreateLinkCommand(string suffixUrl, int appId)
{
SuffixUrl = suffixUrl;
AppId = appId;
}
}
}