public Task <T> CreateBoomiObjectAsync <T>(T boomiObject) where T : IBoomiObject, ICanCreate { var result = this .GetClient() .PostAsync <T, T>( BoomiObjectUrlMapper.GetObjectUrl <T>(), boomiObject); return(result); }
public Task <T> GetBoomiObjectAsync <T>(Guid id) where T : IBoomiObject, ICanGet { return(this.GetClient().GetAsync <T>(BoomiObjectUrlMapper.GetObjectUrl <T>(id))); }
public static string GetObjectUrl <T>(Guid id) where T : IBoomiObject { return(BoomiObjectUrlMapper.GetObjectUrl <T>(id.ToString())); }