Ejemplo n.º 1
0
        public virtual void UpdateTask(ScheduleTask task)
        {
            if (task == null)
                throw new ArgumentNullException("task");

            _taskRepository.Update(task);
        }
Ejemplo n.º 2
0
 public Task(ScheduleTask task)
 {
     Type = task.Type;
     Enabled = task.Enabled;
     StopOnError = task.StopOnError;
     Name = task.Name;
 }