public Task Delete(string id)
        {
            if (id == null)
            {
                throw new BadReadException("id is null");
            }
            Guid guid = new Guid(id);

            return(_transferExcelService.DeleteAsync(guid));
        }
 public async Task Delete()
 {
     Guid i = new Guid("f911da43-c07a-4306-76f5-08d8184901b5");
     ITransferExcelService transferExcelService = _serviceProvider.GetService <ITransferExcelService>();
     await transferExcelService.DeleteAsync(i);
 }