public Task <OrganizationField> Edit(long id, OrganizationFieldUpdate data)
        {
            Ensure.ArgumentNotNull(data, nameof(data));

            return(ApiConnection.Put <OrganizationField>(ApiUrls.OrganizationField(id), data));
        }
Example #2
0
        public Task <Deal> Edit(long id, DealUpdate data)
        {
            Ensure.ArgumentNotNull(data, nameof(data));

            return(ApiConnection.Put <Deal>(ApiUrls.Deal(id), data));
        }
Example #3
0
 public Task <UpdatedDealProduct> UpdateDealProduct(long dealId, long dealProductId, DealProductUpdate dealProductUpdate)
 {
     Ensure.ArgumentNotNull(dealProductUpdate, nameof(dealProductUpdate));
     return(ApiConnection.Put <UpdatedDealProduct>(ApiUrls.UpdateDealProduct(dealId, dealProductId), dealProductUpdate));
 }
        public Task <ActivityType> Edit(long id, ActivityTypeUpdate data)
        {
            Ensure.ArgumentNotNull(data, nameof(data));

            return(ApiConnection.Put <ActivityType>(ApiUrls.ActivityType(id), data));
        }
Example #5
0
        public Task <Stage> Edit(long id, StageUpdate data)
        {
            Ensure.ArgumentNotNull(data, nameof(data));

            return(ApiConnection.Put <Stage>(ApiUrls.Stage(id), data));
        }
Example #6
0
        public Task <User> Edit(long id, UserUpdate data)
        {
            Ensure.ArgumentNotNull(data, nameof(data));

            return(ApiConnection.Put <User>(ApiUrls.User(id), data));
        }
Example #7
0
        public Task <Person> Edit(long id, PersonUpdate data)
        {
            Ensure.ArgumentNotNull(data, nameof(data));

            return(ApiConnection.Put <Person>(ApiUrls.Person(id), data));
        }
Example #8
0
        public Task <Pipeline> Edit(long id, PipelineUpdate data)
        {
            Ensure.ArgumentNotNull(data, nameof(data));

            return(ApiConnection.Put <Pipeline>(ApiUrls.Pipeline(id), data));
        }