public async Task <IEnumerable <FileInfoModel> > GetFilesAsync(string merchantId) { return(await _runner.RunWithDefaultErrorHandlingAsync(() => _filesApi.GetAllAsync(merchantId))); }
public async Task <IEnumerable <FileInfoModel> > GetFilesAsync(string invoiceId) { return(await _runner.RunAsync(() => _filesApi.GetAllAsync(invoiceId))); }