public static Task <Project> GetProjectAsync(this FreeAgentClient client, Project contact) { var id = client.ExtractId(contact); return(client.GetProjectAsync(id)); }
public static Task <Attachment> GetAttachmentAsync(this FreeAgentClient client, Attachment attachment) { var id = client.ExtractId(attachment); return(client.GetAttachmentAsync(id)); }
public static Task <RecurringInvoice> GetRecurringInvoiceAsync(this FreeAgentClient client, RecurringInvoice recurringInvoice) { var id = client.ExtractId(recurringInvoice); return(client.GetRecurringInvoiceAsync(id)); }
public static Task <User> GetUserAsync(this FreeAgentClient client, User user) { var id = client.ExtractId(user); return(client.GetUserAsync(id)); }
public static Task <Expense> GetExpenseAsync(this FreeAgentClient client, Expense expense) { var id = client.ExtractId(expense); return(client.GetExpenseAsync(id)); }
public static Task <Timeslip> GetTimeslipAsync(this FreeAgentClient client, Timeslip timeslip) { var id = client.ExtractId(timeslip); return(client.GetTimeslipAsync(id)); }
public static Task <NoteItem> GetNoteAsync(this FreeAgentClient client, NoteItem note) { var id = client.ExtractId(note); return(client.GetNoteAsync(id)); }
public static Task <Invoice> GetInvoiceAsync(this FreeAgentClient client, Invoice invoice) { var id = client.ExtractId(invoice); return(client.GetInvoiceAsync(id)); }
public static Task <BankAccount> GetBankAccountAsync(this FreeAgentClient client, BankAccount account) { var id = client.ExtractId(account); return(client.GetBankAccountAsync(id)); }
public static Task <Bill> GetBillAsync(this FreeAgentClient client, Bill bill) { var id = client.ExtractId(bill); return(client.GetBillAsync(id)); }
public static Task <StockItem> GetStockItemAsync(this FreeAgentClient client, StockItem stockItem) { var id = client.ExtractId(stockItem); return(client.GetStockItemAsync(id)); }