public async Task <IActionResult> PutSignUpDetail(int id, SignUpDetail signUpDetail) { if (id != signUpDetail.ID) { return(BadRequest()); } _context.Entry(signUpDetail).State = EntityState.Modified; try { await _context.SaveChangesAsync(); } catch (DbUpdateConcurrencyException) { if (!SignUpDetailExists(id)) { return(NotFound()); } else { throw; } } return(NoContent()); }