public ActionResult GetTypeMembers(JqGridRequest request, string keyword)
 {
   var searchCriteria = new TypeMemberSearchCriteria();
   var result = _typeMemberReportService.Search(searchCriteria, request.RecordsCount, request.PageIndex);
   var jsonData = new
   {
     total = (result.Count + request.RecordsCount - 1) / request.RecordsCount,
     page = request.PageIndex + 1,
     records = result.Count,
     rows = result.Items
   };
   return Json(jsonData, JsonRequestBehavior.AllowGet);
 }
 public SearchResult<TypeMemberDTO> Search(TypeMemberSearchCriteria searchCriteria, int pageSize, int pageIndex)
 {
   return _executor.Execute(new GetTypeMemberDTOBySearchCriteriaDbCommand(searchCriteria, pageIndex, pageSize));
 }