public async Task <ActionResult> DeleteFromFavorite(int productId)
        {
            var user = await _userRepo.GetUserByUserClaims(HttpContext.User);

            if (user == null)
            {
                return(Unauthorized("User is Unauthorized"));
            }

            var product = await _productRepo.GetById(productId);

            if (product == null)
            {
                return(BadRequest("Bad Product Id"));
            }
            var favoriteProduct = await _favoriteRepo.Get(user.Id, productId);

            if (favoriteProduct == null)
            {
                return(BadRequest("this product isn't favorited by this user"));
            }
            var result = await _favoriteRepo.Delete(favoriteProduct);

            if (result)
            {
                return(Ok("Deleting From Favorite Succeeded"));
            }
            throw new Exception("Error happen when Deleting From Favorite");
        }