Exemplo n.º 1
0
 private static VmPhone CreateVm(ServiceChargeTypeEnum?serviceChargeType, PhoneNumberTypeEnum?phoneNumberType, LanguageCode?languageCode)
 {
     return(new VmPhone
     {
         ChargeDescription = "description",
         Number = "456789",
         DialCode = new VmDialCode()
         {
             Id = new Guid()
         },
         AdditionalInformation = "info",
         ChargeType = serviceChargeType?.ToString().GetGuid() ?? Guid.Empty,
         TypeId = phoneNumberType?.ToString().GetGuid() ?? Guid.Empty,
         LanguageId = languageCode?.ToString().GetGuid() ?? Guid.Empty
     });
 }