From ca490f72be8c1ac92e6d8db4c72d02ca7cd11e29 Mon Sep 17 00:00:00 2001 From: Josh Creek Date: Mon, 30 Aug 2021 00:31:04 +0100 Subject: [PATCH] refactor(*): Modify IFIleRepository UpdateFileAsync to use a RepoFile model instead of a filename --- FileRepository/IFileRepository.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FileRepository/IFileRepository.cs b/FileRepository/IFileRepository.cs index 4d0f764..bf733d2 100644 --- a/FileRepository/IFileRepository.cs +++ b/FileRepository/IFileRepository.cs @@ -27,9 +27,9 @@ namespace FileRepository /// /// Update a file in the repository. /// - /// The file name of the file to update. + /// The file to store. /// Returns a boolean representing whether or not the update was successful. - Task UpdateFileAsync(string fileName); + Task UpdateFileAsync(RepoFile file); /// /// Delete a file in the repository.