protected Guid Given_a_file_in(Guid folderId, Xero.Api.Core.Model.File file) { var result = Api.Files.Add(folderId, file, exampleFile); return(result.Id); }
protected async Task <Guid> Given_a_file_in(Guid folderId, Xero.Api.Core.Model.File file) { var result = await Api.Files.AddAsync(folderId, file, exampleFile); return(result.Id); }