/// <summary> /// Deletes the agent profile. /// </summary> /// <param name="agent">The agent.</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> DeleteAgentProfile(Agent agent, string profileId, string matchHash, string noneMatchHash) { var doc = new AgentProfileDocument { Agent = agent, ID = profileId, }; return(await _lrs.DeleteAgentProfileAsync(doc)); }
public async Task TestDeleteAgentProfileAsync() { var doc = new AgentProfileDocument { Agent = Support.Agent, ID = "test" }; var lrsRes = await _lrs.DeleteAgentProfileAsync(doc); Assert.IsTrue(lrsRes.Success); }