public static IndividualOrder InsertIndividualOrder(Guid userGuid, long Price, String OrderText)
        {
            if (userGuid == null || Price == null)
            {
                return(null);
            }

            if (HttpContext.Current.Request.Cookies["Currency"] != null && HttpContext.Current.Request.Cookies["Currency"].Value == "USD")
            {
                Price = PriceConverter.ToBYR(Price);
            }

            DBIndividualOrder dbItem = null;

            dbItem = DBProviderManager <DBIndividualOrderProvider> .Provider.InsertIndividualOrder(userGuid, Price, OrderText);

            IndividualOrder indOrder = DBMapping(dbItem);

            return(indOrder);
        }
        protected void fastOrderShCart_Click(object sender, EventArgs e)
        {
            String message = GetMessage(false);

            if (NopContext.Current.Session == null)
            {
                return;
            }

            Guid CustomerSessionGUID = NopContext.Current.Session.CustomerSessionGUID;
            long price = 0;

            Int64.TryParse(this.Price.Text, out price);
            if (Request.Cookies["Currency"] != null && Request.Cookies["Currency"].Value == "USD")
            {
                price = PriceConverter.ToBYR(price);
            }

            IndividualOrderManager.InsertIndividualOrder(CustomerSessionGUID, price, message);
            Response.Redirect("~/ShoppingCart.aspx");
        }