Example #1
0
        public FileContent UpdateFileContent(FileContent fileContent)
        {
            fileContent = magmaGenericDbContext.Update <FileContent>(fileContent).Entity;

            magmaGenericDbContext.SaveChanges();

            return(fileContent);
        }
Example #2
0
        public FileType UpdateFileType(FileType fileType)
        {
            fileType = magmaGenericDbContext.Update <FileType>(fileType).Entity;

            magmaGenericDbContext.SaveChanges();

            return(fileType);
        }