Example #1
0
        public static Participant GetParticipantDetails(string emailID)
        {
            DataTable participantDataTable;

            participantDataTable = ParticipantRepository.GetParticipantDetails(emailID);
            return(InitializeParticipant(participantDataTable));
        }
Example #2
0
        public static bool CheckParticipantTTID(int ttid)
        {
            DataTable participantDataTable = ParticipantRepository.GetParticipantDetails(ttid);

            if (participantDataTable.Rows.Count == 0)
            {
                return(false);
            }
            else
            {
                return(true);
            }
        }