using FileRepository.Models; using Microsoft.Extensions.Configuration; using System; using System.Threading.Tasks; namespace FileRepository.Repositories { /// /// The repository implementation for MongoDb. /// internal class MongoDbRepository : IFileRepository { /// /// Initialises a new instance of the class with configuration. /// /// The configuration to initialise the repository with. internal MongoDbRepository(IConfiguration config) { //this.host = config["MongoDbRepository:host"]; } public async Task CreateFileAsync(RepoFile file) { throw new NotImplementedException(); } public async Task DeleteFileAsync(string filename) { throw new NotImplementedException(); } public async Task ReadFileAsync(string filename) { throw new NotImplementedException(); } public async Task UpdateFileAsync(RepoFile file) { throw new NotImplementedException(); } } }