It worked, thanks.
I've been using this document which says the same about adding Microsoft.AspNet.WebApi.Core: https://aspnetboilerplate.com/Pages/Documents/Dynamic-Web-API
Microsoft.AspNet.WebApi.Core