You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AddMessageCommand.cs 410B

12345678910111213141516
  1. using Diligent.WebAPI.Data.Entities;
  2. using MediatR;
  3. namespace Diligent.WebAPI.Host.Mediator.Messages.Commands
  4. {
  5. public class AddMessageCommand:IRequest<Unit>
  6. {
  7. public string roomId { get;}
  8. public Message message { get;}
  9. public AddMessageCommand(string roomId,Message message)
  10. {
  11. this.roomId = roomId;
  12. this.message = message;
  13. }
  14. }
  15. }