public Task<VideoProfile> UpdateProfile(string factoryId, VideoProfile profile) { if (profile == null) { throw new ArgumentNullException("profile"); } return InvokePut<VideoProfile>(factoryId, string.Format("profiles/{0}.json", profile.Id), profile); }
public Task<VideoProfile> UpdateProfile(VideoProfile profile) { return _cloudService.UpdateProfile(FactoryId, profile); }
public Task<VideoProfile> CreateProfile(string factoryId, VideoProfile profile) { if (profile == null) { throw new ArgumentNullException("profile"); } return InvokePost<VideoProfile>(factoryId, "profiles.json", profile); }