2016-12-23 23:45:24 +02:00
|
|
|
using NzbDrone.Core.Configuration;
|
2014-08-05 08:44:09 +03:00
|
|
|
|
|
|
|
namespace NzbDrone.Api.Config
|
|
|
|
{
|
2016-03-25 02:56:29 +02:00
|
|
|
public class UiConfigModule : NzbDroneConfigModule<UiConfigResource>
|
2014-08-05 08:44:09 +03:00
|
|
|
{
|
|
|
|
public UiConfigModule(IConfigService configService)
|
2016-03-25 02:56:29 +02:00
|
|
|
: base(configService)
|
2014-08-05 08:44:09 +03:00
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-03-25 02:56:29 +02:00
|
|
|
protected override UiConfigResource ToResource(IConfigService model)
|
2014-08-05 08:44:09 +03:00
|
|
|
{
|
2016-03-25 02:56:29 +02:00
|
|
|
return UiConfigResourceMapper.ToResource(model);
|
2014-08-05 08:44:09 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|