Esempio n. 1
0
 static public void UpdateFile(Uploaded_Files updatedFile)
 {
     database.Uploaded_Files.Find(updatedFile.File_ID).File_Path = updatedFile.File_Path;
     database.SaveChanges();
 }
Esempio n. 2
0
 static public void AddNewFile(Uploaded_Files newUploadedFile)
 {
     database.Uploaded_Files.Add(newUploadedFile);
     database.SaveChanges();
 }