Fix: CS1998 "This async method lacks 'await' operators and will run synchronously" in C#
CS1998 means an async method has no await, so it runs synchronously. Drop the async modifier and return Task.FromResult, or add the await you forgot.
20 posts · Page 1 of 2