using MediatR; namespace Sledgemapper.Api.Commands { public class NewSessionCommand : IRequest { public string SessionName { get; set; } public int UserId { get; } public NewSessionCommand(string sessionName, int userId) { SessionName = sessionName; UserId = userId; } } }