Пример #1
0
        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);
        }
Пример #2
0
        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);
        }