sledgemapper/Sledgemapper.Api/Commands/GetCampaignMapsCommand.cs
Michele Scandura 155cb4ea9a
All checks were successful
continuous-integration/drone/push Build is passing
wiring up map updates
2021-09-16 16:34:44 +01:00

21 lines
No EOL
613 B
C#

using System;
using System.Collections.Generic;
using MediatR;
using Sledgemapper.Shared.Entities;
namespace Sledgemapper.Api.Commands
{
public class GetCampaignMapsCommand : IRequest<List<Session>>
{
public double Timestamp { get; private set; }
public string CampaignName { get; private set; }
public string UserId { get; private set; }
public GetCampaignMapsCommand(string campaingName, string userId)
{
Timestamp = DateTimeOffset.Now.ToUnixTimeMilliseconds();
CampaignName = campaingName;
UserId = userId;
}
}
}