/*OVERLOADS for the rest interface*/ /// <summary> /// Adds the activity to activity group. /// </summary> /// <param name="AtulActivityGroupID">The atul activity group ID.</param> /// <param name="AtulActivityID">The atul activity ID.</param> /// <param name="CreatedBy">The created by ID.</param> /// <returns></returns> public bool AddActivityToActivityGroup(string AtulActivityGroupID, string AtulActivityID, string CreatedBy) { bool success = false; Atul_v1Data adb = new Atul_v1Data(); success = adb.AddActivityToActivityGroup(Convert.ToInt32(AtulActivityGroupID), Convert.ToInt32(AtulActivityID), Convert.ToInt32(CreatedBy)); return(success); }
/// <summary> /// Adds the activity to activity group. /// </summary> /// <param name="AtulActivityGroupID">The atul activity group ID.</param> /// <param name="AtulActivityID">The atul activity ID.</param> /// <param name="CreatedBy">The created by ID.</param> /// <returns></returns> public bool AddActivityToActivityGroup(int AtulActivityGroupID, int AtulActivityID, int CreatedBy) { bool success = false; Atul_v1Data adb = new Atul_v1Data(); success = adb.AddActivityToActivityGroup(AtulActivityGroupID, AtulActivityID, CreatedBy); return(success); }