コード例 #1
0
        public IHttpActionResult SendPreAlertEmail(TradelanePreAlertInitial preAlerDetail)
        {
            FrayteResult result = new TradelaneShipmentRepository().SendPreAlertEmail(preAlerDetail);

            if (result.Status)
            {
                new TradelaneShipmentRepository().SavePreAlertLog(preAlerDetail);
            }

            return(Ok(result));
        }
コード例 #2
0
 public List <string> GetShipmentHAWB(int shipmentId)
 {
     try
     {
         List <string> list = new TradelaneShipmentRepository().GetShipmentHAWB(shipmentId);
         return(list);
     }
     catch (Exception ex)
     {
         return(null);
     }
 }
コード例 #3
0
 public TradelanePreAlertInitial PreALertInitials(int shipmentId)
 {
     try
     {
         TradelanePreAlertInitial detail = new TradelaneShipmentRepository().PreALertInitials(shipmentId);
         return(detail);
     }
     catch (Exception ex)
     {
         return(null);
     }
 }
コード例 #4
0
        public FrayteResult RemoveOtherDocument(int tradelaneShipmentDocument)
        {
            FrayteResult result = new TradelaneShipmentRepository().RemoveOtherDocument(tradelaneShipmentDocument);

            return(result);
        }