/// <summary> /// Creates the process. /// </summary> /// <param name="ProcessDescription">The process description.</param> /// <param name="ProcessSummary">The process summary.</param> /// <param name="CreatedBy">The created by.</param> /// <param name="OwnedBy">The owned by.</param> /// <param name="AtulProcessStatusID">The atul process status ID.</param> /// <param name="AtulUserDefinedAttributeID">The atul user defined attribute ID.</param> /// <param name="DeadLineOffset">The dead line offset.</param> /// <returns></returns> public long CreateProcess(string ProcessDescription, string ProcessSummary, string CreatedBy, string OwnedBy, string AtulProcessStatusID, string DeadLineOffset) { long success = 0; Atul_v1Data adb = new Atul_v1Data(); success = adb.CreateProcess(ProcessDescription, ProcessSummary, Convert.ToInt32(CreatedBy), Convert.ToInt32(OwnedBy), Convert.ToInt32(AtulProcessStatusID), Convert.ToInt32(DeadLineOffset)); return(success); }
/// <summary> /// Creates the process. /// </summary> /// <param name="ProcessDescription">The process description.</param> /// <param name="ProcessSummary">The process summary.</param> /// <param name="CreatedBy">The created by.</param> /// <param name="OwnedBy">The owned by.</param> /// <param name="AtulProcessStatusID">The atul process status ID.</param> /// <param name="DeadLineOffset">The dead line offset.</param> /// <returns></returns> public long CreateProcess(string ProcessDescription, string ProcessSummary, int CreatedBy, int OwnedBy, int AtulProcessStatusID, int DeadLineOffset) { long processId = 0; Atul_v1Data adb = new Atul_v1Data(); processId = adb.CreateProcess(ProcessDescription, ProcessSummary, CreatedBy, OwnedBy, AtulProcessStatusID, DeadLineOffset); return(processId); }