Exemplo n.º 1
0
        /// <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);
        }
Exemplo n.º 2
0
 /// <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));
 }