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