public async Task <IActionResult> AddToCart(int productId)
        {
            int userId = int.Parse(HttpContext.Session.GetString("Id"));
            await _crud.AddToCart(userId, productId);

            return(RedirectToAction("Products"));
        }