Satish

Satish

  • 1.7k
  • 184
  • 51.3k

sync task before return type

Nov 21 2019 12:42 PM
HI
 
can you please explain the difference between
 
public async Task<IHttpActionResult> SetPassword(object model)
 
public IHttpActionResult SetPassword(object model)
 
Why we need to use
async infornt of return type.

Brought to you by:

Answers (1)