Exemple #1
0
        public FileContent CreateFileContent(FileContent fileContent)
        {
            fileContent = magmaGenericDbContext.Add <FileContent>(fileContent).Entity;

            magmaGenericDbContext.SaveChanges();

            return(fileContent);
        }
Exemple #2
0
        public FileType CreateFileType(FileType fileType)
        {
            fileType = magmaGenericDbContext.Add <FileType>(fileType).Entity;

            magmaGenericDbContext.SaveChanges();

            return(fileType);
        }