Satish

Satish

  • 1.8k
  • 184
  • 63.5k

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.

Answers (1)