public void ApproveParticipant(int userId, int courseId) { var participant = ParticipantHelper.GetById(userId, courseId); if (participant == null) { return; } participant.ParticipantStatus = Participant.STATUS_ACTIVE; participant.Update(); }
public void ApproveParticipant(int userId, int courseId) { var participant = ParticipantHelper.GetById(userId, courseId); if (participant == null) { return; } participant.ParticipantStatus = Participant.STATUS_ACTIVE; participant.Update(); }