1
0
mirror of synced 2024-11-24 06:20:12 +01:00
GC-local-server-rewrite/Application/Mappers/OnlineMatchMapper.cs
2023-02-27 02:43:13 +08:00

17 lines
487 B
C#

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");
}
}