public async Task <IActionResult> CreateActions(string id, [FromBody] ProductPromoAction productPromoAction)
        {
            ProductPromo productPromo = await _adapter.GetDataById("PromoDatabase", "PromoCollection", id);

            productPromo.actions = productPromoAction;
            var result = await _adapter.CreateAction("PromoDatabase", "PromoCollection", productPromo);

            return(Ok(result));
        }
        public async Task <IActionResult> CreateAction([FromBody] ProductPromoAction productpromoaction)
        {
            var result = await _adapter.CreateAction("PromoDatabase", "PromoCollection", productpromoaction);

            return(Ok(result));
        }