public async Task <IReadOnlyList <AShipment_ShipmentRequestSummary> > GetShipmentRequestSummariesAsync(MFulfillment_ShipmentRequestStatus shipmentRequestStatus, int?recordCount) { using var log = BeginFunction(nameof(ShipmentAdminService), nameof(GetShipmentRequestSummariesAsync), shipmentRequestStatus, recordCount); try { await Assert(SecurityPolicy.AllowViewFulfillment); var mShipmentRequestSummaryList = await FulfillmentMicroService.GetShipmentRequestSummariesAsync(shipmentRequestStatus, recordCount).ConfigureAwait(false); var summaries = Create.AShipment_ShipmentRequestSummaries(mShipmentRequestSummaryList.Summaries); var result = summaries; log.Result(result); return(result); } catch (Exception ex) { log.Exception(ex); throw; } }
public string CreatePagingStateFilter(MFulfillment_ShipmentRequestStatus shipmentRequestStatus, int recordCount) { return($"{shipmentRequestStatus}|{recordCount}"); }