using SumaTube.Domain.Entities.UserPlan; using SumaTube.Crosscutting.Mappers; using SumaTube.Infra.MongoDB.Documents.UserPlan; namespace SumaTube.Infra.MongoDB.Mappers.UserPlan { public static class PersonUserMapper { public static PersonUserDocument ToDocument(this PersonUser entity) { return entity.MapTo(); } public static PersonUser ToDomain(this PersonUserDocument document) { return document.MapTo(); } } }