public async Task <IActionResult> PutHaandvaerker(int id, Haandvaerker item) { if (id != item.HaandvaerkerId) { return(BadRequest()); } _context.Entry(item).State = EntityState.Modified; await _context.SaveChangesAsync(); return(NoContent()); }
public async Task <IActionResult> PutVaerktoej(int id, Vaerktoejskasse item) { if (id != item.VtkId) { return(BadRequest()); } _context.Entry(item).State = EntityState.Modified; await _context.SaveChangesAsync(); return(NoContent()); }