Exemplo n.º 1
0
 public ActionResult Topic(TopicVM topicVM)
 {
     if (topicVM == null)
     {
         return(PartialView(Mapper.Map <Topic, TopicVM>(_chapterService.GetFirstTopicFromChaper(_chapterService.GetFirstChapter().Id))));
     }
     else
     {
         return(PartialView(topicVM));
     }
 }