1
0
mirror of synced 2024-12-18 09:15:54 +01:00
GC-local-server-rewrite/Application/Mappers/OnlineMatchMapper.cs

17 lines
487 B
C#
Raw Normal View History

2023-02-26 19:43:13 +01:00
using Domain.Entities;
using Riok.Mapperly.Abstractions;
namespace Application.Mappers;
[Mapper]
public static partial class OnlineMatchMapper
{
public static partial OnlineMatchEntryDto OnlineMatchEntryToDto(this OnlineMatchEntry entry);
public static partial OnlineMatchEntry DtoToOnlineMatchEntry(this OnlineMatchEntryDto entryDto);
private static string DateTimeToString(DateTime dateTime)
{
return dateTime.ToString("yyyy/MM/dd hh:mm:ss");
}
}