public async Task UpdateAsync(Game updatedGame) { var oldGenres = await _context.GameGenres.Where(gg => gg.GameID == updatedGame.ID).ToListAsync(); UpdateManyToManyRelation(oldGenres, updatedGame.Genres); _context.Update(updatedGame); await _context.SaveChangesAsync(); }
public async Task UpdateAsync(Priority priority) { context.Update(priority); await context.SaveChangesAsync(); }
public async Task UpdateAsync(WishlistItem wishlistItem) { context.Update(wishlistItem); await context.SaveChangesAsync(); }
public async Task UpdateAsync(Language language) { context.Update(language); await context.SaveChangesAsync(); }
public async Task UpdateAsync(Platform platform) { context.Update(platform); await context.SaveChangesAsync(); }
public async Task UpdateAsync(Series series) { context.Update(series); await context.SaveChangesAsync(); }
public async Task UpdateAsync(Genre genre) { context.Update(genre); await context.SaveChangesAsync(); }
public async Task UpdateAsync(Tag tag) { context.Update(tag); await context.SaveChangesAsync(); }
public async Task UpdateAsync(OwnershipStatus ownershipStatus) { context.Update(ownershipStatus); await context.SaveChangesAsync(); }
public async Task UpdateAsync(MediaType mediaType) { context.Update(mediaType); await context.SaveChangesAsync(); }
public async Task UpdateAsync(Developer developer) { context.Update(developer); await context.SaveChangesAsync(); }
public async Task UpdateAsync(Mode mode) { context.Update(mode); await context.SaveChangesAsync(); }
public async Task UpdateAsync(PlayStatus playStatus) { context.Update(playStatus); await context.SaveChangesAsync(); }
public async Task UpdateAsync(Playthrough playthrough) { context.Update(playthrough); await context.SaveChangesAsync(); }
public async Task UpdateAsync(PlayData playData) { context.Update(playData); await context.SaveChangesAsync(); }
public async Task UpdateAsync(Publisher publisher) { context.Update(publisher); await context.SaveChangesAsync(); }