ATUL_v1.ATUL.UpdateProcessScheduleByProcessID C# (CSharp) Метод

UpdateProcessScheduleByProcessID() приватный Метод

private UpdateProcessScheduleByProcessID ( string ProcessID, string scheduleVersion, string nextScheduled, string repeatSchedule, string instantiatedUsers ) : bool
ProcessID string
scheduleVersion string
nextScheduled string
repeatSchedule string
instantiatedUsers string
Результат bool
        public bool UpdateProcessScheduleByProcessID(string ProcessID, string scheduleVersion, string nextScheduled, string repeatSchedule, string instantiatedUsers)
        {
            bool success = false;
            long AtulProcessID = Convert.ToInt64(ProcessID);
            DateTime NextScheduledDate = DateTime.Parse(nextScheduled);
            AtulBusinessLogic adb = new AtulBusinessLogic();
            Schedule s = adb.GetProcessScheduleByProcessID(AtulProcessID);
            success = adb.UpdateProcessSchedule(s.AtulProcessScheduleID, scheduleVersion, s.LastInstantiated, NextScheduledDate, repeatSchedule, instantiatedUsers);
            return success;
        }
ATUL