private void btnPersonelSil_Click(object sender, EventArgs e) { #region PersonelIdGonder Personel model = new Personel { PersonelID = SecilenPesonelId, }; var result = _personelservice.PersonelDelete(model); lblResult.Text = result.IsValid ? result.Message : string.Join("\n", result.Errors); lvPersoneller.Items.Clear(); #endregion #region PersonelleriYukle PersonelleriGetir(); #endregion }