예제 #1
0
        public fichier Creation_fichieru(string name, string format, Utulisateur user, int i)
        {
            //if (Exists(user.Getlistfiles, name))
            //{
            //    return null;
            //}

            db.insertfileuser(user, format, name, d, 0, "RW");
            fichier newfile = new fichier(name, format, user, null, db.lastindexf());

            user.Setlistfiles(newfile);

            return(newfile);
        }