public void DoSomethingAndDeleteFileUsingProxy(string path) { // Do Something with file // ... // Delete _fileProxy.Delete(path); }
public void Delete(string id) { var filePath = CreateFilePath(id); _fileProxy.Delete(filePath); }