public IEnumerable <CoupleTraining> GetPastCoupleTrainings(int UserCode) { CoupleTraining ct = new CoupleTraining(); return(ct.GetPastCoupleTrainings(UserCode)); }
public IEnumerable <CoupleTraining> GetFutureCoupleTrainings(int UserCode) { CoupleTraining c = new CoupleTraining(); return(c.GetFutureCoupleTrainings(UserCode)); }
public int CancelCoupleTraining(int CoupleTrainingCode, int UserCode) { CoupleTraining c = new CoupleTraining(); return(c.CancelCoupleTraining(CoupleTrainingCode, UserCode)); }
public void InsertCoupleTraining([FromBody] CoupleTraining ct) { ct.InsertCoupleTraining(ct); }