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