public dynamic GetScreens(JObject Obj) { screenListFilters filter = Obj.ToObject <screenListFilters>(); int total; screenReturnVal re = new screenReturnVal(); re.data = _screenService.GetAllscreen(filter.limit, filter.offset, filter.order, filter.sort, filter.screenName, out total); var result = new { total = total, rows = re.data, }; return(result); }