Esempio n. 1
0
        public TrainingTask AddTask(TrainingTaskType taskType, IList <RoadStep> roadSteps)
        {
            var trainingTask = new TrainingTask(this, taskType, roadSteps);

            TrainingTasks.Add(trainingTask);
            return(trainingTask);
        }
Esempio n. 2
0
        public TrainingTask AddTask(TrainingTaskType taskType, AspNetUsers student)
        {
            var trainingTask = new TrainingTask(this, taskType, student);

            TrainingTasks.Add(trainingTask);
            return(trainingTask);
        }