public async Task <IHttpActionResult> Post(InitiateCheckout value)
        {
            try
            {
                IRepository <InitiateCheckout> reposity = new Repository <InitiateCheckout>();
                await reposity.CreateAsync(value);
            }
            catch (Exception ex)
            {
                return(BadRequest(ex.Message));
            }

            return(Ok());
        }
        public async Task <IHttpActionResult> Get(string CookeId, string UserId, string Products)
        {
            try
            {
                IRepository <InitiateCheckout> reposity = new Repository <InitiateCheckout>();

                InitiateCheckout item = new InitiateCheckout()
                {
                    CookeId  = CookeId,
                    UserId   = UserId,
                    Products = JsonConvert.DeserializeObject <List <Product> >(Products)
                };

                await reposity.CreateAsync(item);
            }
            catch (Exception ex)
            {
                return(BadRequest(ex.Message));
            }

            return(Ok());
        }