public JsonResult GetNewestBooks() { var books = _db.Books.ToList(); books.ForEach(b => _bookManager.AddToNewest(b)); Thread.Sleep(450); return(Json(_bookManager.newestBookList, JsonRequestBehavior.AllowGet)); }