Example #1
0
 public ScienceAtoZPageViewModel GetViewModel(ScienceAtoZpage model)
 {
     return(new ScienceAtoZPageViewModel()
     {
         Headline = model.GetHeadline(),
         Preamble = model.Preamble,
         CategorisedPages = GetCategorisedPages(model)
     });
 }