// GET: Receipts/Details/5
        public IActionResult Details(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var receipt = _receiptManager.GetReceiptByID(id.Value);

            if (receipt == null)
            {
                return(NotFound());
            }
            var orderID = receipt.OrderID;
            var order   = _orderManager.GetOrderByID(orderID);

            var viewModel = new ReceiptDetailsViewModel();

            viewModel.Receipt = receipt;
            viewModel.Order   = order;

            return(View(viewModel));
        }