public HttpResponseMessage InboxVessel(int pageIndex, int pageSize, RequestView data) { int _rowcount = 0; return(Request.CreateResponse(HttpStatusCode.OK, new { data = new PagerRecord <dynamic>(list: _process.InboxVesselRequest(pageIndex, pageSize, UpdatedId, UpdatedId, out _rowcount, data.ProductId, data.StowageFactorId, data.QuantityId, data.LoadPortId, data.LoadTerminalId, data.DischargePortId, data.DischargeTerminalId, data.StartLaycan, data.EndLaycan, data.Status), page: pageIndex, pageSize: pageSize, allItemsCount: _rowcount) })); }