/// <summary> /// Inserts the instance process activity. /// </summary> /// <param name="AtulInstanceProcessID">The atul instance process ID.</param> /// <param name="AtulProcessActivityID">The atul process activity ID.</param> /// <param name="InstanceProcessActivityCompletedBy">The instance process activity completed by.</param> /// <param name="CreatedBy">The created by.</param> /// <returns></returns> public string InsertInstanceProcessActivity(string AtulInstanceProcessID, string AtulProcessActivityID, string InstanceProcessActivityCompletedBy, string CreatedBy) { DataTable returnTable = new DataTable(); Atul_v1Data adb = new Atul_v1Data(); returnTable = adb.InsertInstanceProcessActivity(Convert.ToInt32(AtulInstanceProcessID), Convert.ToInt32(AtulProcessActivityID), Convert.ToInt32(InstanceProcessActivityCompletedBy), Convert.ToInt32(CreatedBy)); return(JsonMethods.GetJSONString(returnTable)); }
/// <summary> /// Inserts the instance process activity. /// </summary> /// <param name="AtulInstanceProcessID">The atul instance process ID.</param> /// <param name="AtulProcessActivityID">The atul process activity ID.</param> /// <param name="InstanceProcessActivityCompletedBy">The instance process activity completed by.</param> /// <param name="CreatedBy">The created by.</param> /// <returns></returns> public string InsertInstanceProcessActivity(int AtulInstanceProcessID, int AtulProcessActivityID, int InstanceProcessActivityCompletedBy, int CreatedBy) { DataTable returnTable = new DataTable(); Atul_v1Data adb = new Atul_v1Data(); returnTable = adb.InsertInstanceProcessActivity(AtulInstanceProcessID, AtulProcessActivityID, InstanceProcessActivityCompletedBy, CreatedBy); return(JsonMethods.GetJSONString(returnTable)); }