/// <summary> /// Gets the report data for average cost by engineer report /// </summary> /// <returns>a list of reportrow to construct a report</returns> public IEnumerable <ReportRow> printAverageCostByEngineer() { return(ReportDataAccess.averageCostByEngineer().Select(c => new ReportRow(c)).ToList()); }
/// <summary> /// Gets the report data for average cost by engineer report /// </summary> /// <returns>a list of reportrow to construct a report</returns> public IEnumerable <ReportRow> printAverageCostByEngineer() { return(ReportDataAccess.averageCostByEngineer((int)UserType.SiteEngineer, (int)InterventionState.Completed).Select(c => new ReportRow(c)).ToList()); }