public IActionResult Cancel(int productID, int bidID)
        {
            Guid         userID = userService.GetUserID(HttpContext.User.Identity.Name);
            DatabaseCode result = bidService.CancelBid(bidID, userID);

            if (result == DatabaseCode.Updated)
            {
                SetMessage(new MessageViewModel()
                {
                    Message = "Your bid has been cancelled"
                });
            }
            else if (result == DatabaseCode.NotAllowed)
            {
                SetMessage(new MessageViewModel()
                {
                    Message = "You cannot cancel a bid you didn't place. This has been logged."
                });
            }
            else
            {
                SetMessage(new MessageViewModel()
                {
                    Message = "Sorry but an error has occured."
                });
            }
            return(RedirectToAction("View", "Product", new { productid = productID }));
        }