Example #1
0
        public MCQDTO InsertUpdateMCQDetails(string i_sConnectionString, MCQDTO i_objMCQDTO, string Flag)
        {
            MCQDTO objMCQDTO = null;

            try
            {
                using (var objMCQDAL = new InsiderTradingDAL.MCQDAL())
                {
                    objMCQDTO = objMCQDAL.InsertUpdateMCQDetails(i_sConnectionString, i_objMCQDTO, Flag);
                }
            }
            catch (Exception exp)
            {
                throw exp;
            }

            return(objMCQDTO);
        }
Example #2
0
        public MCQ_QUESTION_DTO InsertUpdateMCQQuestionDetails(string i_sConnectionString, MCQ_QUESTION_DTO i_objMCQ_QUESTION_DTO, DataTable dt_MCQQuestionList, string Falg)
        {
            MCQ_QUESTION_DTO objMCQ_QUESTION_DTO = null;

            try
            {
                using (var objMCQDAL = new InsiderTradingDAL.MCQDAL())
                {
                    objMCQ_QUESTION_DTO = objMCQDAL.InsertUpdateMCQQuestionDetails(i_sConnectionString, i_objMCQ_QUESTION_DTO, dt_MCQQuestionList, Falg);
                }
            }
            catch (Exception exp)
            {
                throw exp;
            }

            return(objMCQ_QUESTION_DTO);
        }
Example #3
0
        public IEnumerable <MCQ_QUESTION_DTO> GetMCQQuestionDetailsList(string i_sConnectionString, MCQ_QUESTION_DTO i_objMCQ_QUESTION_DTO, string Falg, out string o_sErrorMessage)
        {
            IEnumerable <MCQ_QUESTION_DTO> objMCQ_QUESTION_DTO = null;

            o_sErrorMessage = "";
            try
            {
                using (var objMCQDAL = new InsiderTradingDAL.MCQDAL())
                {
                    objMCQ_QUESTION_DTO = objMCQDAL.GetMCQQuestionDetailsList(i_sConnectionString, i_objMCQ_QUESTION_DTO, Falg);
                }
            }
            catch (Exception exp)
            {
                throw exp;
            }

            return(objMCQ_QUESTION_DTO);
        }
Example #4
0
        public MCQ_QUESTION_DTO GetMCQQuestionDetails(string i_sConnectionString, int QuestionID, string Falg, out string o_sErrorMessage, int userinfoid = 0)
        {
            MCQ_QUESTION_DTO objMCQ_QUESTION_DTO = null;

            o_sErrorMessage = "";
            try
            {
                using (var objMCQDAL = new InsiderTradingDAL.MCQDAL())
                {
                    objMCQ_QUESTION_DTO = objMCQDAL.GetMCQQuestionDetails(i_sConnectionString, QuestionID, Falg, userinfoid);
                }
            }
            catch (Exception exp)
            {
                throw exp;
            }

            return(objMCQ_QUESTION_DTO);
        }
Example #5
0
        public MCQDTO GetMCQDetails(string i_sConnectionString, int MCQS_ID, string Falg, out string o_sErrorMessage)
        {
            MCQDTO MCQDTO = null;

            o_sErrorMessage = "";
            try
            {
                using (var objMCQDAL = new InsiderTradingDAL.MCQDAL())
                {
                    MCQDTO = objMCQDAL.GetMCQDetails(i_sConnectionString, MCQS_ID, Falg);
                }
            }
            catch (Exception exp)
            {
                throw exp;
            }

            return(MCQDTO);
        }
Example #6
0
        public IEnumerable <MCQ_REPORT_DTO> GetMCQReportList(string i_sConnectionString, MCQ_REPORT_DTO i_objMCQ_REPORT_DTO)
        {
            IEnumerable <MCQ_REPORT_DTO> objMCQ_REPORT_DTO = null;


            try
            {
                using (var objMCQDAL = new InsiderTradingDAL.MCQDAL())
                {
                    objMCQ_REPORT_DTO = objMCQDAL.GetMCQReportList(i_sConnectionString, i_objMCQ_REPORT_DTO);
                }
            }
            catch (Exception exp)
            {
                throw exp;
            }

            return(objMCQ_REPORT_DTO);
        }
Example #7
0
        public IEnumerable <MCQDTO> GetMCQDetailsList(string i_sConnectionString, MCQDTO i_objMCQDTO, out int o_nReturnValue, out int o_nErroCode, out string o_sErrorMessage)
        {
            IEnumerable <MCQDTO> MCQDTOList = null;

            o_nReturnValue  = 0;
            o_nErroCode     = 0;
            o_sErrorMessage = "";
            try
            {
                using (var objMCQDAL = new InsiderTradingDAL.MCQDAL())
                {
                    MCQDTOList = objMCQDAL.GetMCQDetailsList(i_sConnectionString, i_objMCQDTO);
                }
            }
            catch (Exception exp)
            {
                throw exp;
            }

            return(MCQDTOList);
        }