public async Task <ProductModel> GetProductByID(int id)
        {
            var product = await _database.Products.FindAsync(id);

            ProductModel model = _mapper.Map <ProductModel>(product);

            model.DesscriptionENG = await TranslateOperation.TranslateTextAsync(product.Description);

            return(model);
        }
        public async Task <IEnumerable <ProductModel> > GetAllProducts()
        {
            var products = await _database.Products.ToListAsync();

            List <ProductModel> productModels = new List <ProductModel>();

            foreach (var product in products)
            {
                ProductModel model = _mapper.Map <ProductModel>(product);
                model.DesscriptionENG = await TranslateOperation.TranslateTextAsync(product.Description);

                productModels.Add(model);
            }
            return(productModels);
        }