Пример #1
0
        /// <summary>
        /// ===============================================================
        /// Modified By:    Muhallidin G Wali
        /// Date Created:   10/Feb/2016
        /// Description:    Get Service provider booking by statusID
        /// ===============================================================
        /// </summary>
        public GenericNonTurnPort LoadServiceProviderHotelBooking(short LT, string UserId, DateTime Date,
                                                                  int PortAgentID, int StatusTypeID, int Days)
        {
            HotelNoContractDAL DAL = new HotelNoContractDAL();

            return(DAL.LoadServiceProviderHotelBooking(LT, UserId, Date, PortAgentID, StatusTypeID, Days));
        }
Пример #2
0
 /// <summary>
 /// Author:         Josephine Gad
 /// Date Created:   29/Jan/2014
 /// Description:    Confirm record and get the new confirmed and cancelled record using dynamic tables
 /// ---------------------------------------------------------------
 /// </summary>
 public static void ConfirmNonTurnPortListDynamic(string UserId, DateTime dDate, int iPort,
                                                  bool bIsSave, string sEmailTo, string sEmailCc,
                                                  string strLogDescription, string strFunction, string strPageName, DateTime DateGMT, DateTime CreatedDate)
 {
     HotelNoContractDAL.ConfirmNonTurnPortListDynamic(UserId, dDate, iPort,
                                                      bIsSave, sEmailTo, sEmailCc, strLogDescription, strFunction, strPageName, DateGMT, CreatedDate);
 }
Пример #3
0
        public static DataTable GetException(DateTime DateFrom, DateTime DateTo, int StartRow, int MaxRow)
        {
            DataTable dt = null;

            try
            {
                dt = HotelNoContractDAL.GetException(DateFrom, DateTo, StartRow, MaxRow);
                return(dt);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            finally
            {
                if (dt != null)
                {
                    dt.Dispose();
                }
            }
        }
Пример #4
0
 public static int GetExceptionCount(DateTime DateFrom, DateTime DateTo)
 {
     return(HotelNoContractDAL.GetExceptionCount(DateFrom, DateTo));
 }
Пример #5
0
 public static void GetNonTurnPortsContractPageCount(DateTime Date, string UserId, int Loadtype, int RegionID, int PortID)
 {
     HotelNoContractDAL.GetNonTurnPortsContractPageCount(Date, UserId, Loadtype, RegionID, PortID);
 }
Пример #6
0
 /// <summary>
 /// ===============================================================
 /// Created By:     Josephine Gad
 /// Date Created:   03/Feb/2014
 /// Description:    Get confirmed and cancelled Nonturn Port Manifest using dynamic table
 /// ===============================================================
 /// </summary>
 public static DataSet GetNonTurnPortsExportDynamic(DateTime Date, string UserId, int RegionID, int PortID, string sOrderBy)
 {
     return(HotelNoContractDAL.GetNonTurnPortsExportDynamic(Date, UserId, RegionID, PortID, sOrderBy));
 }