public IEnumerable <JobCostSummary> WorkflowJobCostSummary()
        {
            JobCostActivityService         _jobCostActivityService = new JobCostActivityService();
            List <ReconciliationEgmTotals> egmTotals = _jobCostActivityService.GetWorkflowJobs();

            return(Enumerable.Range(1, egmTotals.Count - 1).Select(i => new JobCostSummary
            {
                id = i,
                jobNumber = egmTotals[i].JobNumber,
                sapphireEgmTotal = Convert.ToDecimal(egmTotals[i].SapphireEgmTotal.ToString()).ToString("0.00"),
                pervasiveEgmTotal = Convert.ToDecimal(egmTotals[i].PervasiveEgmTotal.ToString()).ToString("0.00")
            }));
        }
        public IEnumerable <JobCostSummary> JobData(int homeRID)
        {
            JobCostActivityService  _jobCostActivityService = new JobCostActivityService();
            ReconciliationEgmTotals egmTotals = _jobCostActivityService.GetEgmAmountsByHomeRID(homeRID);

            return(Enumerable.Range(1, 1).Select(i => new JobCostSummary
            {
                id = i,
                jobNumber = egmTotals.JobNumber,
                estimateApprovalDate = egmTotals.EstimateApprovalDate,
                sapphireEgmTotal = Convert.ToDecimal(egmTotals.SapphireEgmTotal.ToString()).ToString("0.00"),
                pervasiveEgmTotal = Convert.ToDecimal(egmTotals.PervasiveEgmTotal.ToString()).ToString("0.00")
            }));
        }