Last active
March 2, 2020 14:15
-
-
Save rhysstubbs/4ff36bd7dfb4fbb46176a675880903db to your computer and use it in GitHub Desktop.
Interface Example in C#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.IO; | |
using System.Threading.Tasks; | |
using Example.Storage.Responses; | |
namespace Example.Storage.Interfaces | |
{ | |
public interface IFileUploadService | |
{ | |
Task<UploadResult> UploadAsync(Stream stream, string filename, string path = null); | |
void DeleteDirectoryAsync(string path); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment