Example #1
0
        public List <CateringModel> all()
        {
            CateringData dcatering = new CateringData();

            return(dcatering.all());
        }
Example #2
0
        public bool delete(int id)
        {
            CateringData dcatering = new CateringData();

            return(dcatering.delete(id));
        }
Example #3
0
        public bool insert(CateringModel catering)
        {
            CateringData dcatering = new CateringData();

            return(dcatering.insert(catering));
        }
Example #4
0
        public bool update(CateringModel catering, int id)
        {
            CateringData dcatering = new CateringData();

            return(dcatering.update(catering, id));
        }
Example #5
0
        public CateringModel get(int id)
        {
            CateringData dcatering = new CateringData();

            return(dcatering.get(id));
        }