Ejemplo n.º 1
0
        public ActionResult Index()
        {
            var model = new PreExistingViewModel();

            model.SearchModel = new Models.Case.SearchViewModel();

            var searchController = new SearchController();

            model.SearchModel.Regions = searchController.GetAllRegions().ToList();


            var allCompensationRegions     = CompensationRegionService.GetAllCompensationRegions();
            var groupedCompensationRegions = CompensationRegionService.GetCompensationRegionsGroupedByRegion();

            //model.transactionDetailModel = transactionDetailController.GetCompensationRegionModel();

            return(View(model));
        }
Ejemplo n.º 2
0
        public ActionResult Case(string CaseNumber)
        {
            var model = new PreExistingViewModel();

            //model.CaseModel.Case = CaseService.FindCaseDetailByNumber(CaseNumber);
            //model.TotalAdjudicationAmount = TransactionService.GetBalanceByCase(model.CaseModel.Case.CaseId);



            // model.SearchModel = new SearchViewModel();
            //
            //model.CaseModel.Case = CaseService.FindCaseByNumber(CaseNumber);
            //
            // model.TotalAdjudicationAmount = (decimal)TransactionService.GetTotalAdjudicationByCase(model.CaseModel.Case.CaseId);
            //
            // var transactionDetailController = new TransactionDetailController();
            // model.transactionDetailModel = transactionDetailController.GetCompensationRegionModel();

            return(View(model));
        }