/// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void btnDelete_Click(object sender, DirectEventArgs e)
        {
            try
            {
                foreach (var item in RowSelectionModel1.SelectedRows)
                {
                    // delete salary decision
                    SalaryDecisionController.Delete(int.Parse(item.RecordID));
                }

                btnEdit.Disabled   = true;
                btnDelete.Disabled = true;
                gridDecisionSalaryEnterprise.Reload();
            }
            catch (Exception ex)
            {
                X.MessageBox.Alert("Có lỗi xảy ra", ex.Message).Show();
            }
        }
 /// <summary>
 /// Delete catalog
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected void Delete(object sender, DirectEventArgs e)
 {
     try
     {
         // init id
         var param = e.ExtraParams["Id"];
         // parse id
         if (!int.TryParse(param, out var id) || id <= 0)
         {
             // parse error, show error
             Dialog.ShowError("Có lỗi xảy ra trong quá trình xử lý");
             return;
         }
         // delete
         SalaryDecisionController.Delete(id);
         // reload data
         gpSalaryDecision.Reload();
     }
     catch (Exception exception)
     {
         Dialog.ShowError(exception);
     }
 }