public RedirectToActionResult AddToWishList(int Id, string returnUrl, String wishlistId, CookieOptions cookieId) { Album album = _albumRepository.Albums.FirstOrDefault(a => a.Id == Id); if (album != null) { _wishlist.AddItems(album, wishlistId); } return(RedirectToAction("Index", new { returnUrl })); }