public async Task <IHttpActionResult> List() { Stopwatch sw = new Stopwatch(); sw.Start(); var result = _teamManager.AllAsync().Result; if (result == null) { return(NotFound()); } sw.Stop(); var lastresult = result.ToList(); lastresult.Add(sw.Elapsed.ToString()); return(Json(lastresult)); }