private void RegisterHttpRoutes(RouteCollection routeCollection)
        {
            Assert.ArgumentNotNull(routeCollection, nameof(routeCollection));

            const string CheckoutControllerName = "Checkout";

            routeCollection.MapRoute(
                nameof(CheckoutController),
                Foundation.Commerce.Constants.CommerceRoutePrefix + $"/{CheckoutControllerName.ToLowerInvariant()}" + "/{action}",
                namespaces: new[] { typeof(CheckoutController).Namespace },
                defaults: new
            {
                controller = CheckoutControllerName
            });

            const string CartsControllerName = "Carts";

            routeCollection.MapRoute(
                nameof(CartsController),
                Foundation.Commerce.Constants.CommerceRoutePrefix + $"/{CartsControllerName.ToLowerInvariant()}" + "/{action}",
                namespaces: new[] { typeof(CartsController).Namespace },
                defaults: new
            {
                controller = CartsControllerName
            });

            const string OrdersControllerName = "Orders";

            routeCollection.MapRoute(
                nameof(OrdersController),
                Foundation.Commerce.Constants.CommerceRoutePrefix + $"/{OrdersControllerName.ToLowerInvariant()}",
                namespaces: new[] { typeof(OrdersController).Namespace },
                defaults: new
            {
                controller = OrdersControllerName,
                action     = "orders"
            });

            routeCollection.MapRoute(
                $"{nameof(OrdersController)}.order",
                Constants.CommerceRoutePrefix + $"/{OrdersControllerName.ToLowerInvariant()}" + "/{id}",
                namespaces: new[] { typeof(OrdersController).Namespace },
                defaults: new
            {
                controller = OrdersControllerName,
                action     = "order"
            });
        }
        private void RegisterHttpRoutes(RouteCollection routeCollection)
        {
            Assert.ArgumentNotNull(routeCollection, nameof(routeCollection));

            const string CheckoutControllerName = "Checkout";

            routeCollection.MapRoute(
                nameof(CheckoutController),
                Constants.CommerceRoutePrefix + $"/{CheckoutControllerName.ToLowerInvariant()}" + "/{action}",
                namespaces: new[] { typeof(CheckoutController).Namespace },
                defaults: new { controller = CheckoutControllerName });

            const string CartControllerName = "Cart";

            routeCollection.MapRoute(
                nameof(CartController),
                Constants.CommerceRoutePrefix + $"/{CartControllerName.ToLowerInvariant()}" + "/{action}",
                namespaces: new[] { typeof(CheckoutController).Namespace },
                defaults: new { controller = CartControllerName });
        }