public AboutController(
     INewsTasks newsTasks,
     IMapper<IList<NewsItem>, AboutPageViewModel> aboutPageViewModelMapper)
 {
     this.newsTasks = newsTasks;
     this.aboutPageViewModelMapper = aboutPageViewModelMapper;
 }
 public HomeController(
     INewsTasks newsTasks,
     IHomePageViewModelMapper homePageViewModelMapper)
 {
     this.newsTasks = newsTasks;
     this.homePageViewModelMapper = homePageViewModelMapper;
 }
 public HomeController(
     INewsTasks newsTasks,
     IMapper<IList<NewsItem>, HomePageViewModel> homePageViewModelMapper)
 {
     this.newsTasks = newsTasks;
     this.homePageViewModelMapper = homePageViewModelMapper;
 }
 public HomeController(
     INewsTasks newsTasks,
     IMapper<IList<NewsItem>, HomePageViewModel> homePageViewModelMapper,
     ICachingService cachingService)
 {
     this.newsTasks = newsTasks;
     this.homePageViewModelMapper = homePageViewModelMapper;
     this.cachingService = cachingService;
 }
 public AboutController(
     INewsTasks newsTasks,
     IMapper<IList<NewsItem>, AboutPageViewModel> aboutPageViewModelMapper, 
     ICachingService cachingService)
 {
     this.newsTasks = newsTasks;
     this.cachingService = cachingService;
     this.aboutPageViewModelMapper = aboutPageViewModelMapper;
 }
Example #6
0
 public HomeController(
     INewsTasks newsTasks,
     IMapper <IList <NewsItem>, HomePageViewModel> homePageViewModelMapper,
     ICachingService cachingService)
 {
     this.newsTasks = newsTasks;
     this.homePageViewModelMapper = homePageViewModelMapper;
     this.cachingService          = cachingService;
 }
 public AboutController(
     INewsTasks newsTasks,
     IMapper <IList <NewsItem>, AboutPageViewModel> aboutPageViewModelMapper,
     ICachingService cachingService)
 {
     this.newsTasks                = newsTasks;
     this.cachingService           = cachingService;
     this.aboutPageViewModelMapper = aboutPageViewModelMapper;
 }