public ActionResult Favorites() { var fvrManager = new FavoriteManager(); var user = GetUserByLogin(); var lstFavorites = fvrManager.GetByUser(user.Id); string strJSON = JsonConvert.SerializeObject( lstFavorites, Formatting.Indented, new JsonSerializerSettings { PreserveReferencesHandling = PreserveReferencesHandling.Objects }); return Json(strJSON, JsonRequestBehavior.AllowGet); }