Example #1
0
 public async Task Update(Photo photo)
 {
     db.Entry(photo).State = EntityState.Modified;
     await Save();
 }
Example #2
0
 public async Task Update(Album album)
 {
     db.Entry(album).State = EntityState.Modified;
     await Save();
 }