using DTO;
using Model;

namespace ApiMapping
{
    public static class LargeImageMapper
    {
        public static LargeImageDto ToDto(this LargeImage largeImage)
            => new() { Base64 = largeImage.Base64 };

        public static LargeImage ToModel(this LargeImageDto largeImageDto) => new(largeImageDto.Base64);

    }
}