private void AuthorProcessControl(string message) { try { bool result = _authorController.Add(currentAuthor); if (result) { message = "Yazar"; } authorID = _authorController.GetAuthorbyName(currentAuthor); } catch (Exception ex) { MessageBox.Show(ex.Message); } }