示例#1
0
        public static Dal.Training PostTraining(ClassTraining Training)
        {
            Dal.Training t = new Dal.Training()
            {
                training_id = Training.Training_id,
                name        = Training.name,
                description = Training.description,
                quota       = Training.quota
            };

            return(t);
        }
示例#2
0
        public static ClassTraining GetDtoTraining(Dal.Training Training)
        {
            ClassTraining t = new ClassTraining()
            {
                Training_id = Training.training_id,
                name        = Training.name,
                description = Training.description,
                quota       = Training.quota
            };

            return(t);
        }