public IHttpActionResult TestDI() { _logger.LogTrace("TestDI REST endpoint fired..."); var ints = _diTestSvc.GetIntValues(); return(Ok(ints)); }
public ActionResult Index() { var vm = new IndexViewModel { SomeIntValues = _diTestSvc.GetIntValues(), SomeStringValues = _diTestSvc.GetStringValues() }; return(View(vm)); }