I don't know what I'm doing anymore

This commit is contained in:
Michele 2020-11-16 00:03:42 +00:00
parent ea9cc32534
commit 8fdee0cb67
17 changed files with 342 additions and 116 deletions

View file

@ -2,14 +2,10 @@ using MediatR;
namespace Sledgemapper.Api.Commands
{
public class NewSessionCommand : IRequest<bool>
public class NewSessionCommand : BaseCommand<bool>
{
public string SessionName { get; set; }
public int UserId { get; }
public NewSessionCommand(string sessionName, int userId)
public NewSessionCommand(string sessionName, int userId):base(sessionName, userId)
{
SessionName = sessionName;
UserId = userId;
}
}
}