1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-26 22:46:53 -04:00

Reformat and apply Stylecop rules

This commit is contained in:
ta264
2019-12-22 22:08:53 +00:00
committed by Qstick
parent d4fa9b7345
commit f02fa629cc
1186 changed files with 7105 additions and 5616 deletions
@@ -2,7 +2,6 @@ using System.Linq;
using NzbDrone.Core.Datastore;
using NzbDrone.Core.Messaging.Events;
namespace NzbDrone.Core.Configuration
{
public interface IConfigRepository : IBasicRepository<Config>
@@ -18,7 +17,6 @@ namespace NzbDrone.Core.Configuration
{
}
public Config Get(string key)
{
return Query.Where(c => c.Key == key).SingleOrDefault();
@@ -30,7 +28,7 @@ namespace NzbDrone.Core.Configuration
if (dbValue == null)
{
return Insert(new Config {Key = key, Value = value});
return Insert(new Config { Key = key, Value = value });
}
dbValue.Value = value;