/// <summary> /// Updates the specified costream. /// </summary> /// <param name="costreamID">The id of the costream</param> /// <param name="costream">The costream to update</param> /// <returns>The updated costream</returns> public async Task <CostreamModel> UpdateCostream(Guid costreamID, CostreamModel costream) { Validator.ValidateVariable(costreamID, "costreamID"); Validator.ValidateVariable(costream, "costream"); return(await this.PatchAsync <CostreamModel>("costreams/" + costreamID.ToString(), this.CreateContentFromObject(costream))); }