#if false
using survey_beta.DTOs.Create;
using survey_beta.DTOs.Default;
using survey_beta.Models;

namespace survey_beta.Mappers
{
    public class SurveyMapper
    {
        public static SurveyDto ToDto(Survey survey)
        {
            return new SurveyDto
            {
                Id = survey.Id,
                Title = survey.Title,
                Description = survey.Description,
                Category = survey.Category,
                IsPublished = survey.IsPublished,
                AuthorId = survey.AuthorId
            };
        }

        public static Survey ToEntity(CreateSurveyDto dto, string authorId)
        {
            return new Survey
            {
                Id = Guid.NewGuid().ToString(),
                Title = dto.Title,
                Description = dto.Description,
                Category = dto.Category,
                ExpirationDate = dto.ExpirationDate,
                IsPublished = false,
                AuthorId = authorId
            };
        }
    }
}
#endif