Beispiel #1
0
        public static ConfigurationDto CreateConfiguration(ConfigurationDto configuration)
        {
            var newConf = DbConfigurationManager.CreateConfiguration(
                AutoMapper.Instance.Map<Configuration>(configuration));

            return AutoMapper.Instance.Map<ConfigurationDto>(newConf);
        }
Beispiel #2
0
 public static void UpdateConfiguration(ConfigurationDto configuration)
 {
     DbConfigurationManager.UpdateConfiguration(
         AutoMapper.Instance.Map<Configuration>(configuration));
 }
 public void UpdateConfiguration(ConfigurationDto configuration)
 {
     ConfigurationLogic.UpdateConfiguration(configuration);
 }
 public ConfigurationDto CreateConfiguration(ConfigurationDto configuration)
 {
     return ConfigurationLogic.CreateConfiguration(configuration);
 }