public JsonResult GetLookupForReport(LookupQuery queryInfo) { var selector = new Func <Courier, LookupItemVo>(o => new LookupItemVo { KeyId = o.Id, DisplayName = o.User != null ? CaculatorHelper.GetFullName(o.User.FirstName, o.User.MiddleName, o.User.LastName) : "" }); var queryData = _courierService.GetLookupForReport(queryInfo, selector); queryData.Insert(0, new LookupItemVo() { DisplayName = "Select All", KeyId = 0 }); var clientsJson = Json(queryData.OrderBy(o => o.KeyId), JsonRequestBehavior.AllowGet); return(clientsJson); }