public ScheduleTaskViewConfiguration GetScheduleTaskViewConfiguration(string taskId, string environment) { List <ScheduleTaskViewConfiguration> configurations = SchedulerController.GetScheduleTaskViewConfigurations(taskId); return(configurations.Find(delegate(ScheduleTaskViewConfiguration configuration) { return configuration.Environment == environment; })); }
public List <ScheduleTaskViewConfiguration> GetScheduleTaskViewConfigurations(string taskId) { return(SchedulerController.GetScheduleTaskViewConfigurations(taskId)); }