Пример #1
0
        /// <summary>
        /// To EDIT Consultant Type
        /// </summary>
        /// <param name="objconsultantType"></param>
        /// <returns></returns>
        public string EDITConsultantType(ConsultantTypeBO objconsultantType)
        {
            ConsultantTypeDAL ConsultantTypeDALobj = new ConsultantTypeDAL(); //Data pass -to Database Layer

            try
            {
                return(ConsultantTypeDALobj.EDITConsultantType(objconsultantType));
            }
            catch
            {
                throw;
            }
            finally
            {
                ConsultantTypeDALobj = null;
            }
        }
Пример #2
0
        /// <summary>
        /// To Delete Consultant Type
        /// </summary>
        /// <param name="consultantTypeID"></param>
        /// <returns></returns>
        public string DeleteConsultantType(int consultantTypeID)
        {
            ConsultantTypeDAL ConsultantTypeDALobj = new ConsultantTypeDAL(); //Data pass -to Database Layer

            return(ConsultantTypeDALobj.DeleteConsultantType(consultantTypeID));
        }
Пример #3
0
        /// <summary>
        /// To Get Consultant Type Id
        /// </summary>
        /// <param name="consultantTypeID"></param>
        /// <returns></returns>
        public ConsultantTypeBO GetConsultantTypeId(int consultantTypeID)
        {
            ConsultantTypeDAL ConsultantTypeDALobj = new ConsultantTypeDAL(); //Data pass -to Database Layer

            return(ConsultantTypeDALobj.GetConsultantTypeId(consultantTypeID));
        }