/// <summary> /// Gets the name of the activity from the database /// </summary> /// <returns></returns> the name of the activity public string GetActivityName() { var activity = connectToDatabase.GetActivityQuery(currentActivityHover); return(activity.Name); }
/// <summary> /// Get the Activity that is currently hovered. /// </summary> /// <param name="currentActivityHover"></param>Name of the currently Activity hover. /// <returns></returns>Returns the Activity being hovered. public Activity GetActivityQuery(String currentActivityHover) { return(connectToDatabase.GetActivityQuery(currentActivityHover)); }