コード例 #1
0
        /// <summary>
        /// Author:         Marco Abejar
        /// Date Created:   13/11/2013
        /// Descrption:     Get PrtAgent Request
        ///
        public static List <PortAgentRequest> GetPortAgentRequest(Int16 LoadType, string sUser, string sRole, string sPortID, string sAirportID,
                                                                  DateTime dDate, int iStartRow, int iMaxRow, string VesselID, string FilterByName,
                                                                  string SeafarerID, string NationalityID, string Gender, string RankID, string Status,
                                                                  Int16 iViewType, string SortBy, int iVendorId, int iNoOfDay)
        {
            List <PortAgentRequest> list = new List <PortAgentRequest>();

            TravelRequestDAL.GetPortAgentRequest(LoadType, sUser, sRole, sPortID, sAirportID, dDate, iStartRow, iMaxRow,
                                                 VesselID, FilterByName, SeafarerID, NationalityID, Gender, RankID, Status, iViewType, SortBy, iVendorId, iNoOfDay);

            list = (List <PortAgentRequest>)HttpContext.Current.Session["PortAgentRequest"];
            return(list);
        }
コード例 #2
0
        /// ========================================================
        /// Author:         Josephine Gad
        /// Date Created:   11/Aug/2014
        /// Description:    Export list of Service Provider Request
        /// ========================================================
        /// </summary>
        public static DataTable GetPortAgentRequestExport(Int16 LoadType, string sUser, string SortBy)
        {
            DataTable dt = null;

            try
            {
                dt = TravelRequestDAL.GetPortAgentRequestExport(LoadType, sUser, SortBy);
                return(dt);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            finally
            {
                if (dt != null)
                {
                    dt.Dispose();
                }
            }
        }
コード例 #3
0
 /// <summary>
 /// Author:         Josephine Gad
 /// Date Created:   16/11/2012
 /// Description:    Get Travel Request of Meet & Greet & Service Provider Role for Export to Excel
 /// ========================================================
 /// Author:         Marco Abejar
 /// Date Created:   22/03/2013
 /// Description:    Add sorting
 /// ========================================================
 /// </summary>
 public static DataTable GetMeetGreetTravelRequestExport(Int16 LoadType, string sUser, string sRole, string
                                                         sPortID, string sAirportID, string SortBy)
 {
     return(TravelRequestDAL.GetMeetGreetTravelRequestExport(LoadType, sUser, sRole, sPortID, sAirportID, SortBy));
 }