protected void deleteBankDeposit(bank_deposit deposit) { try { dbContext.bank_deposit.Remove(deposit); dbContext.SaveChanges(); } catch (Exception e) { MessageBox.Show(e.Message); } }
public void DeleteBankDeposit(bank_deposit deposit) { deleteBankDeposit(deposit); }