public Task <T> UpdateBoomiObjectAsync <T>(T boomiObject)
            where T : IBoomiObject, ICanUpdate
        {
            var result =
                this
                .GetClient()
                .PostAsync <T, T>(
                    BoomiObjectUrlMapper.GetUpdateUrl <T>(boomiObject.GetId()),
                    boomiObject);

            return(result);
        }
예제 #2
0
 public static string GetUpdateUrl <T>(Guid id)
     where T : IBoomiObject
 {
     return(BoomiObjectUrlMapper.GetUpdateUrl <T>(id.ToString()));
 }