private void BtnDelete_Click(object sender, EventArgs e)
 {
     if (lstAttributes.SelectedIndex > -1)
     {
         attributeRepository.Delete(attribute);
         LoadListBox();
         ClearTextBoxes();
     }
 }
Example #2
0
 public void Delete(CharacterAttribute obj, DbTransaction transaction = null)
 {
     _attributeRepository.Delete(obj, transaction);
 }