✅ convert synchronous code to async? - C#