public virtual void UpdateTask(ScheduleTask task)
        {
            if (task == null)
                throw new ArgumentNullException("task");

            _taskRepository.Update(task);
        }
Example #2
0
 public Task(ScheduleTask task)
 {
     Type = task.Type;
     Enabled = task.Enabled;
     StopOnError = task.StopOnError;
     Name = task.Name;
 }