Question: do sb the courtesy of doing sth?
Answer: do (one) the courtesy of (doing something) To be considerate enough to do a particular thing.