public IActionResult AddToFav(int Id, bool isFav, string EncrytedId)
        {
            Photos pho = new Photos()
            {
                Id = Id, IsFav = isFav
            };
            Photos p = photoRepository.ChangeFavStatus(pho);

            toastNotification.AddSuccessToastMessage("Image added into favourites");
            return(RedirectToAction("AlbumDetail", new RouteValueDictionary(new { controller = "User", action = "AlbumDetail", albumId = EncrytedId })));
        }