/// <summary> /// Get list of company insdustries /// </summary> /// <returns></returns> public List<tblCompanyIndustryListDto> GetCompanyIndustries() { Mapper.CreateMap<tblCompanyIndustryList, tblCompanyIndustryListDto>(); using (var masterDataContext = new FPMasterValuesEntities()) { return Mapper.Map(masterDataContext.tblCompanyIndustryLists.ToList(), new List<tblCompanyIndustryListDto>()); } }
/// <summary> /// Get list of account opening fields /// </summary> /// <returns></returns> public List<tblAccountOpeningFieldDto> GetAccountOpeningFields() { Mapper.CreateMap<tblAccountOpeningField, tblAccountOpeningFieldDto>(); using (var masterDataContext = new FPMasterValuesEntities()) { return Mapper.Map(masterDataContext.tblAccountOpeningFields.ToList(), new List<tblAccountOpeningFieldDto>()); } }
/// <summary> /// Get list of countries /// </summary> /// <returns></returns> public List<tblCountryListDto> GetCountries() { Log4NetLogger.Info("UnifiedDataStore : In GetCountries"); Mapper.CreateMap<tblCountryList, tblCountryListDto>(); using (var masterDataContext = new FPMasterValuesEntities()) { return Mapper.Map(masterDataContext.tblCountryLists.ToList(), new List<tblCountryListDto>()); } }
/// <summary> /// Get list of Country Of Operations /// </summary> /// <returns></returns> public List<tblCountryOfOperationDto> GetCountryOfOperations() { Mapper.CreateMap<tblCountryOfOperation, tblCountryOfOperationDto>(); using (var masterDataContext = new FPMasterValuesEntities()) { return Mapper.Map(masterDataContext.tblCountryOfOperations.ToList(), new List<tblCountryOfOperationDto>()); } }
/// <summary> /// Get list of UserTypes /// </summary> /// <returns></returns> public List<tblUserTypeDto> GetUserTypes() { Mapper.CreateMap<tblUserType, tblUserTypeDto>(); using (var masterDataContext = new FPMasterValuesEntities()) { return Mapper.Map(masterDataContext.tblUserTypes.ToList(), new List<tblUserTypeDto>()); } }
/// <summary> /// Get list of Supported Languages /// </summary> /// <returns></returns> public List<tblSupportedLanguageDto> GetSupportedLanguages() { Mapper.CreateMap<tblSupportedLanguage, tblSupportedLanguageDto>(); using (var masterDataContext = new FPMasterValuesEntities()) { return Mapper.Map(masterDataContext.tblSupportedLanguages.ToList(), new List<tblSupportedLanguageDto>()); } }
/// <summary> /// Get list of KYCStatus /// </summary> /// <returns></returns> public List<tblKYCStatusDto> GetKYCStatus() { Mapper.CreateMap<tblKYCStatus, tblKYCStatusDto>(); using (var masterDataContext = new FPMasterValuesEntities()) { return Mapper.Map(masterDataContext.tblKYCStatuses.ToList(), new List<tblKYCStatusDto>()); } }