Example #1
0
        public PortalSettingsDTO TranslateRb_PortalSettingsIntoPortalSettingsDTO(rb_PortalSettings portalSettings)
        {
            PortalSettingsDTO _portalSettings = new PortalSettingsDTO();
            _portalSettings.PortalID = portalSettings.PortalID;
            _portalSettings.SettingName = portalSettings.SettingName;
            _portalSettings.SettingValue = portalSettings.SettingValue;

            return _portalSettings;
        }
Example #2
0
        public rb_PortalSettings TranslatePortalSettingsDTOIntoRb_PortalSettings(PortalSettingsDTO portalSettings)
        {
            rb_PortalSettings _portalSettings = new rb_PortalSettings();
            _portalSettings.PortalID = portalSettings.PortalID;
            _portalSettings.SettingName = portalSettings.SettingName;
            _portalSettings.SettingValue = portalSettings.SettingValue;

            return _portalSettings;
        }