25 lines
488 B
C#
25 lines
488 B
C#
using MediatR;
|
|
using System.Runtime.Serialization;
|
|
using Jambo.Producer.Application.Commands;
|
|
using System;
|
|
|
|
namespace Jambo.Producer.Application.Commands.Blogs
|
|
{
|
|
[DataContract]
|
|
public class CreateBlogCommand : CommandBase, IRequest<Guid>
|
|
{
|
|
[DataMember]
|
|
public string Url { get; private set; }
|
|
|
|
public CreateBlogCommand()
|
|
{
|
|
|
|
}
|
|
|
|
public CreateBlogCommand(string url) : this()
|
|
{
|
|
Url = url;
|
|
}
|
|
}
|
|
}
|