예제 #1
0
        /// <summary>
        /// Gets all registered reports
        /// </summary>
        /// <param name="options">The globalization options (optional)</param>
        /// <returns>A collection of registered reports</returns>
        public IEnumerable <RegisteredReport> GetAllReports
        (
            GlobalizationOptions options = null
        )
        {
            var reports = _reportRepository.GetAllReports();

            reports.Localize
            (
                _translator,
                options
            );

            return(reports);
        }
예제 #2
0
 /// <summary>
 /// Gets all registered reports
 /// </summary>
 /// <returns>A collection of registered reports</returns>
 public IEnumerable <RegisteredReport> GetAllReports()
 {
     return(_reportRepository.GetAllReports());
 }