public WordSuite Map(CourseWordSuiteModel wordSuite)
 {
     return new WordSuite()
     {
         Id = wordSuite.Id,
         Name = wordSuite.Name,
     };
 }
 public WordSuite Map(CourseWordSuiteModel wordSuite)
 {
     return(new WordSuite()
     {
         Id = wordSuite.Id,
         Name = wordSuite.Name,
     });
 }
Exemple #3
0
        public WordSuite Map(CourseWordSuiteModel wordSuite)
        {
            WordSuite model = new WordSuite();

            model.Id   = wordSuite.Id;
            model.Name = wordSuite.Name;
            return(model);
        }
Exemple #4
0
        public CourseWordSuiteModel Map(WordSuite wordSuite)
        {
            CourseWordSuiteModel model = new CourseWordSuiteModel();

            model.Id   = wordSuite.Id;
            model.Name = wordSuite.Name;
            model.ProhibitedQuizzesId = wordSuite.ProhibitedQuizzes.Select(q => q.Id).ToList();
            return(model);
        }