public static Task <Timeslip> GetTimeslipAsync(this FreeAgentClient client, Uri url) { var id = url.GetId(); return(client.GetTimeslipAsync(id)); }
public static Task <Timeslip> GetTimeslipAsync(this FreeAgentClient client, Timeslip timeslip) { var id = client.ExtractId(timeslip); return(client.GetTimeslipAsync(id)); }