migrating session/map it to guid.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michele Scandura 2021-09-16 16:51:07 +01:00
parent 155cb4ea9a
commit 195533bce0
17 changed files with 672 additions and 82 deletions

View file

@ -0,0 +1,19 @@
using System;
using MediatR;
namespace Sledgemapper.Api.Commands
{
public class NewCampaignCommand : IRequest<bool>
{
public double Timestamp { get; private set; }
public string CampaignName { get; private set; }
public string UserId { get; private set; }
public NewCampaignCommand(string campaingName, string userId)
{
Timestamp = DateTimeOffset.Now.ToUnixTimeMilliseconds();
CampaignName = campaingName;
UserId = userId;
}
}
}