public async Task <bool> RestoreBackup(string fromPath) { if (!CanSync()) { return(false); } var toPath = IocManager.Container.Resolve <IFileHelper>().GetLocalFilePath(AppSettings.Bookshelft.SqlLiteFilename); return(await _cloudStorageService.RestoreFile(toPath, fromPath)); }