public ThreadController(IUowData data, IPagerViewModelFactory pagerModelFactory, IViewModelFactory viewModelFactory) : base(data, pagerModelFactory) { if (viewModelFactory == null) { throw new ArgumentNullException(WebConstants.IViewModelFactoryNullMessage, "viewModelFactory"); } this.viewModelFactory = viewModelFactory; }
public BaseController(IUowData data, IPagerViewModelFactory pagerModelFactory) { if (data == null) { throw new ArgumentNullException(WebConstants.IUowDataNullMessage, "data"); } if (pagerModelFactory == null) { throw new ArgumentNullException(WebConstants.IPagerViewModelFactoryNullMessage, "pagerModelFactory"); } this.data = data; this.pagerModelFactory = pagerModelFactory; }
public HomeController(IUowData data, IPagerViewModelFactory pagerModelFactory) : base(data, pagerModelFactory) { }