public static Contact ToModel(this ContactDto dto)
 {
     return(new Contact
     {
         Id = dto.Id,
         Name = dto.Name,
         Family = dto.Family,
         Phone = PhoneFormatting.SimplifyPhone(dto.Phone)
     });
 }
 public static ContactDto ToDto(this Contact c)
 {
     return(new ContactDto
     {
         Id = c.Id,
         Name = c.Name,
         Family = c.Family,
         Phone = PhoneFormatting.FormatPhone(c.Phone)
     });
 }