예제 #1
0
        public IList <PhoneInfo> GetAllPhonesBorrowed()
        {
            PhoneDAL phonedal = new PhoneDAL();

            return(phonedal.getAllPhonesBorrowed());
        }
예제 #2
0
        public string selByConditionNum(string Sql)
        {
            PhoneDAL phonedal = new PhoneDAL();

            return(phonedal.selByConditionNum(Sql));
        }
예제 #3
0
        public IList <PhoneInfo> getAllPhonesInLibrary()
        {
            PhoneDAL phonedal = new PhoneDAL();

            return(phonedal.getAllPhonesInLibrary());
        }
예제 #4
0
        public bool delByPhoneCode(string PhoneCode)
        {
            PhoneDAL phonedal = new PhoneDAL();

            return(phonedal.delByPhoneCode(PhoneCode));
        }
예제 #5
0
        public IList <PhoneInfo> selByCondition(string Sql)
        {
            PhoneDAL phonedal = new PhoneDAL();

            return(phonedal.selByCondition(Sql));
        }
예제 #6
0
        public bool AddPhone(string PhoneCode, string PhoneName, string PhoneStage, string PhoneNum, string PhoneStatus, string PhoneNote, string PhoneOwner, string PhoneCreater)
        {
            PhoneDAL phonedal = new PhoneDAL();

            return(phonedal.addPhone(PhoneCode, PhoneName, PhoneStage, PhoneNum, PhoneStatus, PhoneNote, PhoneOwner, PhoneCreater));
        }
예제 #7
0
        public IList <PhoneInfo> getNonePhones()
        {
            PhoneDAL phonedal = new PhoneDAL();

            return(phonedal.getNonePhones());
        }
예제 #8
0
        public bool updatePhoneDisplay(string PhoneName, string PhoneStage, string PhoneDisplay)
        {
            PhoneDAL phonedal = new PhoneDAL();

            return(phonedal.updatePhoneDisplay(PhoneName, PhoneStage, PhoneDisplay));
        }
예제 #9
0
        public bool updatePhoneStatusIn(string PhoneName, string PhoneStage, string PhoneNum)
        {
            PhoneDAL phonedal = new PhoneDAL();

            return(phonedal.updatePhoneStatusIn(PhoneName, PhoneStage, PhoneNum));
        }
예제 #10
0
        public IList <PhoneInfo> GetBorrowedPhones(string StaffID)
        {
            PhoneDAL phonedal = new PhoneDAL();

            return(phonedal.getBorrowedPhones(StaffID));
        }