예제 #1
0
        public IEnumerable <CoupleTraining> GetPastCoupleTrainings(int UserCode)
        {
            CoupleTraining ct = new CoupleTraining();

            return(ct.GetPastCoupleTrainings(UserCode));
        }
예제 #2
0
        public IEnumerable <CoupleTraining> GetFutureCoupleTrainings(int UserCode)
        {
            CoupleTraining c = new CoupleTraining();

            return(c.GetFutureCoupleTrainings(UserCode));
        }
예제 #3
0
        public int CancelCoupleTraining(int CoupleTrainingCode, int UserCode)
        {
            CoupleTraining c = new CoupleTraining();

            return(c.CancelCoupleTraining(CoupleTrainingCode, UserCode));
        }
예제 #4
0
 public void InsertCoupleTraining([FromBody] CoupleTraining ct)
 {
     ct.InsertCoupleTraining(ct);
 }