public WordTranslationModel Map(WordTranslation WordTranslation) { WordTranslationModel wordTranslationModel = new WordTranslationModel(); wordTranslationModel.Id = WordTranslation.Id; wordTranslationModel.OriginalWord = WordTranslation.OriginalWord.Value; wordTranslationModel.TranslationWord = WordTranslation.TranslationWord.Value; return wordTranslationModel; }
public WordTranslationModel Map(WordTranslation WordTranslation) { WordTranslationModel wordTranslationModel = new WordTranslationModel(); wordTranslationModel.Id = WordTranslation.Id; wordTranslationModel.OriginalWord = WordTranslation.OriginalWord.Value; wordTranslationModel.TranslationWord = WordTranslation.TranslationWord.Value; return(wordTranslationModel); }