public void Put([FromBody] LoginAttempt loginAttempt) { _repo.Update(loginAttempt.LoginAttemptID, loginAttempt); }
public void Put(int id, [FromBody] LoginAttempt value) { _repo.Update(id, value); }