public dynamic GetScreenAction(JObject Obj) { screenActionListFilters filter = Obj.ToObject <screenActionListFilters>(); int total; screenActionReturnVal re = new screenActionReturnVal(); re.data = _screenService.GetAllScreenAction(filter.limit, filter.offset, filter.order, filter.sort, filter.FK_screenId, out total); var result = new { total = total, rows = re.data, }; return(result); }