// GET: Default public ActionResult Index() { Stopwatch watch = new Stopwatch(); watch.Start(); ContentManagement service = new ContentManagement(); service.GetContent(); service.GetNumber(); watch.Stop(); ViewBag.Milliseconds = watch.ElapsedMilliseconds; return(View()); }