Webapi for PatternInAction , change the viewmodel from ActionResult to IQueryable type
I am studying the PatternInAction project and i would like how to convert the presentation layer from Mvc to Webapi
May i know how to change the ViewModel in Mvc project to IQueryable ?
For example, the below function, it returns in ActionResult, but how do i may OrdersModel to be IQueryable?
Look forward your favourite reply. Thanks a lot
Ho Yung Tsoi, Dec 15, 2016