/// <summary> /// Gets the name of the challenge from the database. /// </summary> /// <returns> /// Name of the challenge /// </returns> public string GetChallengeName() { var challenge = connectToDatabase.GetChallengeQuery(currentChallengeHover); return(challenge.Name); }
/// <summary> /// Get the Challenge that is currently hovered. /// </summary> /// <param name="currentChallengeHover"></param>Name of the currently Challenge hover. /// <returns></returns>Returns the Challenge being hovered. public Challenge GetChallengeQuery(String currentChallengeHover) { return(connectToDatabase.GetChallengeQuery(currentChallengeHover)); }