sledgemapper/Sledgemapper.Api/Commands/GetCampaignMapsCommand.cs
Michele Scandura db41143312
All checks were successful
continuous-integration/drone/push Build is passing
fixed load and overlay flow, missing sync
2021-09-17 11:42:36 +01:00

21 lines
No EOL
601 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 Guid CampaignId { get; private set; }
public string UserId { get; private set; }
public GetCampaignMapsCommand(Guid campaignId, string userId)
{
Timestamp = DateTimeOffset.Now.ToUnixTimeMilliseconds();
CampaignId = campaignId;
UserId = userId;
}
}
}