Hi all,
I've seen all of the 4 episodes of the Getting Started with the Kendo UI for ASP.Net MVC, however I can't seem to figure out how to set up a DataSource with a Generic ObjectList.
This is the piece of code I currently have:
public
JsonResult Get([DataSourceRequest] DataSourceRequest request)
{
Runner runner =
new
Runner();
Task<List<CustomOrder>> customOrderResult = Task.Run(async () => await runner.GetCustomOrders().ConfigureAwait(
false
));
Task.WhenAll(customOrderResult);
List<CustomOrder> customOrders = customOrderResult.Result;
}
I know it ain't perfect. Going to refactor it as soon as I got it working properly.
Thanks in advance for all your help.