/// <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); }
/// <summary> /// Gets all registered reports /// </summary> /// <returns>A collection of registered reports</returns> public IEnumerable <RegisteredReport> GetAllReports() { return(_reportRepository.GetAllReports()); }