public string AddFile(string path, Stream data, NameValueCollection userMetadata) { //path = DfsHelper.ParseToDfsPath(path, _appConfig.BucketName); path = new DfsPath(_appConfig.ApplicationName, _appConfig.BucketName, path).ToString(); return(_service.AddFile(path, data, userMetadata)); }
public string AddFile(string path, Stream content) { return(_storage.AddFile(path, content)); }