diff --git a/FileRepository/Models/File.cs b/FileRepository/Models/RepoFile.cs similarity index 90% rename from FileRepository/Models/File.cs rename to FileRepository/Models/RepoFile.cs index a9f2a29..fae6c67 100644 --- a/FileRepository/Models/File.cs +++ b/FileRepository/Models/RepoFile.cs @@ -6,7 +6,7 @@ namespace FileRepository.Models /// /// This model serves to represent the files being stored. /// - public class File + public class RepoFile { /// /// Gets or sets the id field for the file, this serves as the key field/unique identifier. @@ -35,9 +35,9 @@ namespace FileRepository.Models /// The filename of the file. /// The content of the file. /// Returns an initialised File object. - public File GenerateFile(string id, string fileName, Stream content) + public RepoFile GenerateFile(string id, string fileName, Stream content) { - File newFile = new File() + RepoFile newFile = new RepoFile() { Id = id, FileName = fileName,