From 5138cca9b0a3d7692ec7d886b4d12896dceba506 Mon Sep 17 00:00:00 2001 From: Josh Creek Date: Mon, 30 Aug 2021 00:31:48 +0100 Subject: [PATCH] feat(*): Add the SftpRepository to the factory --- FileRepository/Factory.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/FileRepository/Factory.cs b/FileRepository/Factory.cs index 5eab2d1..0598b39 100644 --- a/FileRepository/Factory.cs +++ b/FileRepository/Factory.cs @@ -1,4 +1,5 @@ -using System; +using FileRepository.Repositories; +using System; using System.Collections.Generic; using System.Text; @@ -58,8 +59,8 @@ namespace FileRepository //case RepositoryType.S3: // break; - //case RepositoryType.Sftp: - // break; + case RepositoryType.Sftp: + return new SftpRepository(); //case RepositoryType.Sql: // break;