// GET: Home public ActionResult Index() { return(Json(new { GuidScoped = disposeTracker.GetGuidString(), GuidTransient = disposeTracker2.GetGuidString() }, JsonRequestBehavior.AllowGet)); }
// GET api/<controller> public IEnumerable <string> Get() { logger.LogInformation("Get"); return(new string[] { disposeTracker.GetGuidString(), disposeTracker2.GetGuidString() }); }