Example #1
0
 public Word ToDomainModel(WordValueModel apiModel)
 {
     return(new Word()
     {
         Id = apiModel.Id ?? default(int),
         Value = apiModel.Value
     });
 }
 public Word ToDomainModel(WordValueModel apiModel)
 {
     return new Word()
     {
         Id = apiModel.Id ?? default(int),
         Value = apiModel.Value
     };
 }