/// <summary>
        /// Go to the page to update stock of element
        /// </summary>
        /// <returns></returns>
        private async Task GoToUpdateStock()
        {
            UpdateStockWindow page = new UpdateStockWindow(UserServices, AlertServices, MaterialServices, ProductServices, MaterialsProductServices, SaleServices, await ProductServices.GetAll(), await MaterialServices.GetAll());

            page.Show();
            CurrentPage.Close();
        }
        /// <summary>
        /// Method to go to the "Listing" page
        /// </summary>
        /// <returns></returns>
        private async Task GoToListingElements()
        {
            ListingElementsWindow page = new ListingElementsWindow(UserServices, AlertServices, MaterialServices, ProductServices, MaterialsProductServices, SaleServices, await ProductServices.GetAll(), await MaterialServices.GetAll(), await MaterialsProductServices.GetAll());

            page.Show();
            CurrentPage.Close();
        }
        /// <summary>
        /// Go to the page to add an element
        /// </summary>
        /// <returns></returns>
        private async Task GoToAddElement()
        {
            AddElementWindow page = new AddElementWindow(UserServices, AlertServices, MaterialServices, ProductServices, MaterialsProductServices, SaleServices, await MaterialServices.GetAll());

            page.Show();
            CurrentPage.Close();
        }