private async void btnDeleteCat_Click(object sender, EventArgs e)
        {
            if (DataCategory.SelectedRows.Count == 1)
            {
                try
                {
                    Category category = (Category)DataCategory.SelectedRows[0].DataBoundItem;
                    await ControlerMethods.DeleteCategory(category);

                    DataCategory.DataSource = await ControlerMethods.GetCategoryAsync();
                }
                catch (Exception ex)
                {
                    MessageBox.Show(ex.Message + "\n",
                                    "خطا",
                                    MessageBoxButtons.OK,
                                    MessageBoxIcon.Error);
                }
            }
            else
            {
                MessageBox.Show("لطفا یک سطر را انتخاب نمایید   " + "\n",
                                "خطا",
                                MessageBoxButtons.OK,
                                MessageBoxIcon.Error);
            }
        }