Exemplo n.º 1
0
        public static bool ModifyReserveBit(string ReserveBitID, int status, out string errorMsg)
        {
            if (ReserveBitID.IsEmpty())
            {
                throw new ArgumentNullException("ReserveBitID");
            }

            IParkReserveBit factory = ParkReserveBitFactory.GetFactory();

            return(factory.ModifyReserveBit(ReserveBitID, status, out errorMsg));
        }
Exemplo n.º 2
0
        public static ParkReserveBit GetCanUseParkReserveBit(string pkid, string platenumber, out string errorMsg)
        {
            if (pkid.IsEmpty())
            {
                throw new ArgumentNullException("pkid");
            }

            IParkReserveBit factory = ParkReserveBitFactory.GetFactory();

            return(factory.GetCanUseParkReserveBit(pkid, platenumber, out errorMsg));
        }