private void ClientRemoved(object sender, EventArgs e) { string idS = (string)sender; int id = Int32.Parse(idS.Trim()); _repository.DeleteClient(id); _clientView.DisplayDeleteDoneWithSuccess(); }