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.

AddRoleCommand.cs 294B

12345678910111213
  1. using MediatR;
  2. namespace Diligent.WebAPI.Host.Mediator.Authentication.Commands
  3. {
  4. public class AddRoleCommand:IRequest<Unit>
  5. {
  6. public string NameOfRole { get; }
  7. public AddRoleCommand(string nameOfRole)
  8. {
  9. NameOfRole = nameOfRole;
  10. }
  11. }
  12. }