rectoring
This commit is contained in:
parent
628fab2146
commit
1ae0ee5a8a
16 changed files with 135 additions and 62 deletions
15
Sledgemapper.Api/Commands/NewSessionCommand.cs
Normal file
15
Sledgemapper.Api/Commands/NewSessionCommand.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using MediatR;
|
||||
|
||||
namespace Sledgemapper.Api.Commands
|
||||
{
|
||||
public class NewSessionCommand : IRequest<bool>
|
||||
{
|
||||
public string SessionName { get; set; }
|
||||
public int UserId { get; }
|
||||
public NewSessionCommand(string sessionName, int userId)
|
||||
{
|
||||
SessionName = sessionName;
|
||||
UserId = userId;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue