public void ListTraining()
        {
            TrainingComponent tr = new TrainingComponent();

            tr.ListTraining(1);
            Assert.IsNotNull(tr);
        }
        /// <summary>
        /// Calls the ListTraining business method of the TrainingComponent.
        /// </summary>
        /// <param name="currentPage"> A currentPage value.</param>
        /// <returns>Returns a List<TrainingRequest> object.</returns>
        public List <TrainingRequest> ListTraining(int currentPage)
        {
            var bc = new TrainingComponent();

            return(bc.ListTraining(currentPage));
        }