/// <summary>
        /// Method that calls the query method from the database controller
        /// and converts the data array into a JSON object
        /// </summary>
        /// <returns>json object</returns>
        public string StudentResponseData()
        {
            var json = JsonSerializer.Serialize(db.countStudentResponse());

            return(json);
        }