Beispiel #1
0
        public List <Language> AddNewLanguage(Language lang)
        {
            DBservices db = new DBservices();

            if (db.AddLanguageToSQL(lang) == 1)
            {
                return(db.ReadLanguagesFromSQL());
            }
            else
            {
                return(null);
            }
        }