/// <summary>
        /// delete the product
        /// </summary>
        /// <returns>to the admin page</returns>
        public async Task <IActionResult> OnPostDelete()
        {
            await _product.DeleteProduct(ID.Value);

            return(RedirectToPage("Admin"));
        }