Esempio n. 1
0
        public bool CreateFile(int id, string name, string text)
        {
            if (!String.IsNullOrEmpty(name) &&
                !String.IsNullOrEmpty(text))
            {
                _fileDao.CreateFile(id, name, text);

                return(true);
            }
            else
            {
                Console.WriteLine("Incorrect NAME and TEXT (empty)");
                return(false);
            }
        }