public ActionResult _Index(string tabId, int parentId, int page, int pageSize, string orderBy) { var listCommand = GetListCommand(page, pageSize, orderBy); var serviceResult = _statusTypeService.GetStatusesBySiteId(listCommand, parentId); return(new TelerikResult(serviceResult.Data, serviceResult.TotalRecords)); }
public ActionResult _Index(string tabId, int parentId, GridCommand command) { var serviceResult = _statusTypeService.GetStatusesBySiteId(command.GetListCommand(), parentId); return(new TelerikResult(serviceResult.Data, serviceResult.TotalRecords)); }