Beispiel #1
0
        public virtual async Task <OssObjectDto> GetAsync(GetOssObjectInput input)
        {
            var oss = CreateOssContainer();

            var ossObject = await oss.GetObjectAsync(input.Bucket, input.Object, input.Path);

            return(ObjectMapper.Map <OssObject, OssObjectDto>(ossObject));
        }
Beispiel #2
0
 public virtual async Task <OssObjectDto> GetAsync(GetOssObjectInput input)
 {
     return(await OssObjectAppService.GetAsync(input));
 }
Beispiel #3
0
 public virtual async Task DeleteAsync(GetOssObjectInput input)
 {
     await OssObjectAppService.DeleteAsync(input);
 }
Beispiel #4
0
        public virtual async Task DeleteAsync(GetOssObjectInput input)
        {
            var oss = CreateOssContainer();

            await oss.DeleteObjectAsync(input.Bucket, input.Object, input.Path);
        }