public async Task TestDeleteActivityProfileAsync() { var doc = new ActivityProfileDocument { Activity = Support.Activity, ID = "test" }; var lrsRes = await _lrs.DeleteActivityProfileAsync(doc); Assert.IsTrue(lrsRes.Success); }
/// <summary> /// Deletes the activity profile. /// </summary> /// <param name="activityId">The activity identifier.</param> /// <param name="profileId">The profile identifier.</param> /// <param name="matchHash">The match hash.</param> /// <param name="noneMatchHash">The none match hash.</param> /// <returns>Task<LRSResponse>.</returns> /// <exception cref="System.NotImplementedException"></exception> public async Task <LRSResponse> DeleteActivityProfile(string activityId, string profileId, string matchHash, string noneMatchHash) { var activity = new Activity { ID = activityId }; var doc = new ActivityProfileDocument { Activity = activity, ID = profileId, }; return(await _lrs.DeleteActivityProfileAsync(doc)); }