More progress on IoC. Controllers are implemented
This commit is contained in:
@ -11,6 +11,8 @@ namespace Aurora.Services.Settings
|
||||
private string _usernameKey = "username";
|
||||
private string _defaultPortKey = "port";
|
||||
|
||||
private string _libraryLocationKey = "libraryLocation";
|
||||
|
||||
public SettingsService()
|
||||
{
|
||||
}
|
||||
@ -55,6 +57,12 @@ namespace Aurora.Services.Settings
|
||||
set { AppSettings.AddOrUpdateValue(_defaultPortKey, value); }
|
||||
}
|
||||
|
||||
public string LibraryLocation
|
||||
{
|
||||
get { return AppSettings.GetValueOrDefault(_libraryLocationKey, "~/Music"); }
|
||||
set { AppSettings.AddOrUpdateValue(_libraryLocationKey, value); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The current sessions clientId. This is assigned by the server. This is not persisted.
|
||||
/// </summary>
|
||||
|
Reference in New Issue
Block a user