public async Task UpdateCompetitorListAsync(CompetitorListBase competitorList) { await context.SaveChangesAsync(); }
public async Task DeleteCompetitorListAsync(CompetitorListBase competitorList) { context.CompetitorLists.Remove(competitorList); await context.SaveChangesAsync(); }
public async Task AddCompetitorListAsync(CompetitorListBase competitorList) { competitorList.Id = Guid.NewGuid(); context.CompetitorLists.Add(competitorList); await context.SaveChangesAsync(); }