8 lines
543 B
C#
8 lines
543 B
C#
namespace GameList.Contracts;
|
|
|
|
public record SetNameRequest(string Name);
|
|
public record SuggestionRequest(string Name, string? Genre, string? Description, string? ScreenshotUrl, string? YoutubeUrl, string? GameUrl, int? MinPlayers, int? MaxPlayers);
|
|
public record SuggestionDto(int Id, string Name, string? Genre, string? Description, string? ScreenshotUrl, string? YoutubeUrl, string? GameUrl, int? MinPlayers, int? MaxPlayers);
|
|
public record VoteRequest(int SuggestionId, int Score);
|
|
public record PhaseRequest(GameList.Domain.Phase Phase);
|