refactor(*): Modify IFIleRepository UpdateFileAsync to use a RepoFile model instead of a filename

This commit is contained in:
Josh Creek
2021-08-30 00:31:04 +01:00
parent 8eafe54fc2
commit ca490f72be
+2 -2
View File
@@ -27,9 +27,9 @@ namespace FileRepository
/// <summary>
/// Update a file in the repository.
/// </summary>
/// <param name="fileName">The file name of the file to update.</param>
/// <param name="file">The file to store.</param>
/// <returns>Returns a boolean representing whether or not the update was successful.</returns>
Task<bool> UpdateFileAsync(string fileName);
Task<bool> UpdateFileAsync(RepoFile file);
/// <summary>
/// Delete a file in the repository.