//run the repository for View Cost By District and return the list. public IList <Report> ViewCostsByDistrict() { var repos = new ViewReportRepository(context); var list = repos.ViewCostsByDistrict(); return(list); }
//run the repository for View Monthly Cost For District and return the list. public IList <Report> ViewMonthlyCostForDistrict(string districtId) { var repos = new ViewReportRepository(context); var list = repos.ViewMonthlyCostForDistrict(districtId); return(list); }
//run the repository for View Average Costs By Engineer and return the list. public IList <Report> ViewAverageCostsByEngineer() { var repos = new ViewReportRepository(context); var list = repos.ViewAverageCostsByEngineer(); return(list); }