servicestack
servicestack

has anyone managed to wire up datatables with servicestack? (http://www.servicestack.net/) i can't seem to configure the method signature to match that which datatables requires.
eg
public object Get(MyObject request)
{...}
as opposed to
public dynamic Get(int sEcho,
int iDisplayStart,
int iDisplayLength,
string sSearch,
int iSortCol_0,
string sSortDir_0)
{...}
which is the sort of thing datatables would look for.
eg
public object Get(MyObject request)
{...}
as opposed to
public dynamic Get(int sEcho,
int iDisplayStart,
int iDisplayLength,
string sSearch,
int iSortCol_0,
string sSortDir_0)
{...}
which is the sort of thing datatables would look for.
This discussion has been closed.
Replies
Allan