Exemple #1
0
        public static Task <Project> GetProjectAsync(this FreeAgentClient client, Project contact)
        {
            var id = client.ExtractId(contact);

            return(client.GetProjectAsync(id));
        }
Exemple #2
0
        public static Task <Attachment> GetAttachmentAsync(this FreeAgentClient client, Attachment attachment)
        {
            var id = client.ExtractId(attachment);

            return(client.GetAttachmentAsync(id));
        }
Exemple #3
0
        public static Task <RecurringInvoice> GetRecurringInvoiceAsync(this FreeAgentClient client, RecurringInvoice recurringInvoice)
        {
            var id = client.ExtractId(recurringInvoice);

            return(client.GetRecurringInvoiceAsync(id));
        }
Exemple #4
0
        public static Task <User> GetUserAsync(this FreeAgentClient client, User user)
        {
            var id = client.ExtractId(user);

            return(client.GetUserAsync(id));
        }
Exemple #5
0
        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));
        }
Exemple #7
0
        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));
        }
Exemple #9
0
        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));
        }