public IHttpActionResult SendPreAlertEmail(TradelanePreAlertInitial preAlerDetail) { FrayteResult result = new TradelaneShipmentRepository().SendPreAlertEmail(preAlerDetail); if (result.Status) { new TradelaneShipmentRepository().SavePreAlertLog(preAlerDetail); } return(Ok(result)); }
public List <string> GetShipmentHAWB(int shipmentId) { try { List <string> list = new TradelaneShipmentRepository().GetShipmentHAWB(shipmentId); return(list); } catch (Exception ex) { return(null); } }
public TradelanePreAlertInitial PreALertInitials(int shipmentId) { try { TradelanePreAlertInitial detail = new TradelaneShipmentRepository().PreALertInitials(shipmentId); return(detail); } catch (Exception ex) { return(null); } }
public FrayteResult RemoveOtherDocument(int tradelaneShipmentDocument) { FrayteResult result = new TradelaneShipmentRepository().RemoveOtherDocument(tradelaneShipmentDocument); return(result); }