ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,551 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
What is the difference between ActionResult<IEnumerable<SpeakerModel>> vs IActionResult ?
I ran both of them and got the same result.
public IActionResult GetAll()
{
return Ok(SpeakersList);
}
[HttpGet]
public ActionResult<IEnumerable<SpeakerModel>> GetAll()
{
return Ok(SpeakersList);
}