예제 #1
0
        public bool updateSmartPhone(Smartphone smartPhone)
        {
            bool rs = new SmartPhoneDAO().updateSmartPhone(smartPhone);

            return(rs);
        }
예제 #2
0
        public bool addSmartPhone(Smartphone smartPhone)
        {
            bool rs = new SmartPhoneDAO().addSmartPhone(smartPhone);

            return(rs);
        }
예제 #3
0
        public bool deleteSmartPhoneByCode(int code)
        {
            bool rs = new SmartPhoneDAO().DeleteSmartPhoneByCode(code);

            return(rs);
        }
예제 #4
0
        public List <Smartphone> searchByName(string keyword)
        {
            List <Smartphone> smartPhones = new SmartPhoneDAO().searchByName(keyword);

            return(smartPhones);
        }
예제 #5
0
        public List <Smartphone> getAllList()
        {
            List <Smartphone> smartPhones = new SmartPhoneDAO().getListSmartPhone();

            return(smartPhones);
        }