public static bool HasMovieOnCart(string movieId)
        {
            var cartRepo = new CartItemRepository();
            var cartItem = cartRepo.Find(AuthenticationService.LoggedUser.Id, movieId);

            return(cartItem != null);
        }
        public static void RemoveFromCart(string movieId)
        {
            var cartRepo = new CartItemRepository();
            var cartItem = cartRepo.Find(AuthenticationService.LoggedUser.Id, movieId);

            if (cartItem != null)
            {
                cartRepo.Delete(cartItem);
            }
        }