using SurveyBackend.Core.Models; using SurveyBackend.Core.Services; using SurveyBackend.DTOs; namespace SurveyBackend.Mappers.UserDTOs; public static class UserRegistrationMapper { public static User UserRegistrationToModel(UserRegistrationDto dto) => new User { Email = dto.Email, FirstName = dto.FirstName, LastName = dto.LastName, Password = dto.Password, }; }