public async Task TearDown()
        {
            // Ensure the application file is removed from storage after to running test
            await _fileStorageService.DownloadApplicationFile(_applicationId, _fileName, _containerType, new CancellationToken());

            // Ensure the page file is removed from storage after to running test
            await _fileStorageService.DeleteFile(_applicationId, _sequenceNumber, _sectionNumber, _pageId, _fileName, _containerType, new CancellationToken());
        }
        public void DeleteMember(int memberId)
        {
            var connection = new SqliteConnection("Data Source=" + dbPath);

            connection.Open();
            using (var ic = connection.CreateCommand()) {
                ic.CommandText = "DELETE FROM [Member] " +
                                 " WHERE [Key]=" + memberId;
                ic.ExecuteNonQuery();
            }

            connection.Close();

            FileStorageService storage = new FileStorageService();

            storage.DeleteFile(memberId.ToString());
        }
 public IEnumerable <FileOperationWraper> DeleteFile(T fileId, bool deleteAfter, bool immediately)
 {
     return(FileStorageService.DeleteFile("delete", fileId, false, deleteAfter, immediately)
            .Select(FileOperationWraperHelper.Get));
 }