public bool AddProduct(Product product)
        {
            var dbProduct = new DBAccess.DataModel.Product
            {
                ProductId   = product.ProductId == Guid.Empty ? Guid.NewGuid() : product.ProductId,
                ProductName = product.ProductName,
                Quantity    = product.AvailableQuantity
            };

            using (var context = new PetShopContext(this._configuration))
            {
                context.Products.Add(dbProduct);
                context.SaveChanges();
            }

            return(true);
        }
        public bool AddProduct(Product product)
        {
            var dbProduct = new DBAccess.DataModel.Product
            {
                ProductId   = product.ProductId == Guid.Empty ? Guid.NewGuid() : product.ProductId,
                ProductName = product.ProductName,
                Quantity    = product.AvailableQuantity
            };

            Console.WriteLine("Inside Add products");
            using (var context = new PetShopContext())
            {
                context.Products.Add(dbProduct);
                context.SaveChanges();
            }

            return(true);
        }