public IActionResult Checkout()
 {
     try
     {
         string email = User.Identity.Name;
         _orderDetService.Checkout(email);
         TempData["feedback"] = "Added to Order";
         Message = "User: "******" successfully made a purchase";
         _logger.LogInformation(Message);
         return(RedirectToAction("Index", "Home"));
     }
     catch (Exception ex)
     {
         return(RedirectToAction("Error", "Home"));
     }
 }