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