예제 #1
0
        public DTO_Discount GetCurrentDiscount()
        {
            DAL_Discount dal = new DAL_Discount();

            return(dal.GetCurrentDiscout());
        }
예제 #2
0
        public int deleteDiscount(string ID)
        {
            DAL_Discount dal = new DAL_Discount();

            return(dal.deleteDiscount(ID));
        }
예제 #3
0
        public string ID()
        {
            DAL_Discount dal = new DAL_Discount();

            return(dal.createID());
        }
예제 #4
0
        public int editDiscount(DTO_Discount dto)
        {
            DAL_Discount dal = new DAL_Discount();

            return(dal.editDiscount(dto));
        }
예제 #5
0
        public int createNewDiscount(DTO_Discount dto)
        {
            DAL_Discount dal = new DAL_Discount();

            return(dal.createNewDiscount(dto));
        }
예제 #6
0
        public DataTable findDiscount(string startdate, string enddate)
        {
            DAL_Discount dal = new DAL_Discount();

            return(dal.findDiscount(startdate, enddate));
        }
예제 #7
0
        public DTO_Discount findDiscount(string ID)
        {
            DAL_Discount dal = new DAL_Discount();

            return(dal.findDiscount(ID));
        }
예제 #8
0
        public DataTable getAllDiscount()
        {
            DAL_Discount dal = new DAL_Discount();

            return(dal.getAllDiscount());
        }