25 lines
474 B
C#
25 lines
474 B
C#
using MediatR;
|
|
using System.Runtime.Serialization;
|
|
using Jambo.Producer.Application.Commands;
|
|
using System;
|
|
|
|
namespace Jambo.Producer.Application.Commands.Posts
|
|
{
|
|
[DataContract]
|
|
public class EnablePostCommand : CommandBase, IRequest
|
|
{
|
|
[DataMember]
|
|
public Guid Id { get; private set; }
|
|
|
|
public EnablePostCommand()
|
|
{
|
|
|
|
}
|
|
|
|
public EnablePostCommand(Guid id) : this()
|
|
{
|
|
Id = id;
|
|
}
|
|
}
|
|
}
|