public async Task <JsonResult> GetLastScanAwbNo([FromQuery] string created_by) { try { DataTable dt = await _manifestLogic.GetLastScanAwbNo(created_by).ConfigureAwait(false); if (dt.Rows.Count > 0) { return(new JsonResult(dt)); } else { return(await _manifestLogic.SendRespose("False", "No Record Found").ConfigureAwait(false)); } } catch (Exception ee) { return(await _manifestLogic.SendRespose("False", ee.Message).ConfigureAwait(false)); } }
public async Task <JsonResult> shipment_partner() { try { return(await _manifestLogic.shipment_partner().ConfigureAwait(false)); } catch (Exception ee) { return(await _manifestLogic.SendRespose("False", ee.Message).ConfigureAwait(false)); } }
public async Task <JsonResult> get_handover_ship_agent_code([FromQuery] string ship_agent_code, int location_id) { try { DataTable dt = await _manifestLogic.get_handover_ship_agent_code(ship_agent_code, location_id).ConfigureAwait(false); if (dt.Rows.Count > 0) { return(new JsonResult(dt)); } else { return(await _manifestLogic.SendRespose("False", "No Record Found").ConfigureAwait(false)); } } catch (Exception ee) { return(await _manifestLogic.SendRespose("False", ee.Message).ConfigureAwait(false)); } }