/// <summary>
 /// Initializes a new instance of the <see cref="ResizerService"/> class.
 /// </summary>
 /// <param name="configurationRepository">The configuration repository.</param>
 public ResizerService(IConfigurationRepository configurationRepository)
 {
     _configurationRepository = configurationRepository;
     _configuration = _configurationRepository.RetrieveByPrimaryKey(new Guid("1e3bc0f8-ddad-4433-a370-81c8830c7ae0"));
 }
 /// <summary>
 /// Updates the Configuration table by the primary key, if the Configuration is dirty then an update will occur
 /// </summary>
 /// <param name="configuration">a populated configuration</param>
 /// <returns>update count</returns>
 public int Update(Configuration configuration)
 {
     int updateCount = database.NonQuery("Configuration_Update", configuration);
     return updateCount;
 }