private async Task UpdateFileAsync() { string jsonPhotoLibrary = JsonConvert.SerializeObject(this.libraryCollection); await FileHelper.WriteTextFileAsync(LIBRARY_MANAGER_FILE_NAME, jsonPhotoLibrary); }
private PhotoLibraryManager() { this.libraryCollection = new Dictionary <string, string>(); this.PhotoLibraryManagerFile = FileHelper.GetFilePath(LIBRARY_MANAGER_FILE_NAME).Result.Path; }