public async Task <RugNummer> UpdateRugnummer(RugNummer rugnummer) { _context.RugNummers.Update(rugnummer); await _context.SaveChangesAsync(); return(rugnummer); }
public async Task <Team> AddTeam(Team addTeam) { await _context.Teams.AddAsync(addTeam); await _context.SaveChangesAsync(); return(addTeam); }
public async Task <Sponsor> AddSneaker(Sponsor sponsor) { await _context.Sponsors.AddAsync(sponsor); await _context.SaveChangesAsync(); return(sponsor); }
public async Task <Player> AddPlayer(Player addPlayer) { await _context.Players.AddAsync(addPlayer); await _context.SaveChangesAsync(); return(addPlayer); }