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;
 }
Exemple #2
0
        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);
        }