public async Task <Festival> AddFestival(Festival festival) { await _context.Festivals.AddAsync(festival); await _context.SaveChangesAsync(); return(festival); }
public async Task <Participant> AddParticipant(Participant participant) { await _context.Participants.AddAsync(participant); await _context.SaveChangesAsync(); return(participant); }