public int AddLanguageService(Language language) { try { return(_languageRepository.AddItem(language)); } catch (Exception e) { MessageBox.Show("Hata: " + e.Message); return(0); } }