Exemplo n.º 1
0
        public async Task <Response <FileModel> > DeleteAsync(string path)
        {
            var response = await _upload.DeleteAsync(path);

            return(new Response <FileModel>
            {
                Success = true,
                Message = MessageConstant.Delete
            });
        }
Exemplo n.º 2
0
 private Task DeleteAsync()
 {
     return(_uploadService.DeleteAsync(Id));
 }