/// <summary>
        /// Gets the mapping entry by lead CRM identifier.
        /// </summary>
        /// <param name="leadCRMId">The lead CRM identifier.</param>
        /// <returns>The LeadOpportunityMappingDto object.</returns>
        public LeadOpportunityMappingDto GetMappingEntryByLeadCRMId(string leadCRMId)
        {
            LeadOpportunityMapping map = new LeadOpportunityMapping();
            try
            {
                map = this.leadOpportunityRepository.Find(x => x.LeadId == leadCRMId).FirstOrDefault() ?? new LeadOpportunityMapping();
            }
            catch (Exception ex)
            {
                this.LoggerService.LogException("GetMappingEntryByLeadCRMId :- " + ex.Message);
            }

            return this.mapperFactory.GetMapper<LeadOpportunityMapping, LeadOpportunityMappingDto>().Map(map);
        }
        /// <summary>
        /// Gets the mapping entry by user id and org CRM identifier and interest.
        /// </summary>
        /// <param name="userId">The user identifier.</param>
        /// <param name="orgCRMId">The org CRM identifier.</param>
        /// <param name="interest">The interest.</param>
        /// <returns>LeadOpportunityMappingDto object.></returns>
        public LeadOpportunityMappingDto GetMappingEntryByContactAndOrgCRMIdAndInterest(string userId, string orgCRMId, string interest)
        {
            LeadOpportunityMapping leadOppMapping = new LeadOpportunityMapping();
            try
            {
                leadOppMapping = this.leadOpportunityRepository.Find(x => x.ContactId == userId && x.CompanyId == orgCRMId && x.Interest == interest).FirstOrDefault() ?? new LeadOpportunityMapping();
            }
            catch (Exception ex)
            {
                this.LoggerService.LogException("GetMappingEntryByContactAndOrgCRMIdAndInterest :- " + ex.Message);
            }

            return this.mapperFactory.GetMapper<LeadOpportunityMapping, LeadOpportunityMappingDto>().Map(leadOppMapping);
        }