예제 #1
0
        public ActionResult DashboardYakov()
        {
            //if (Global.Default.User().UserName != "Yakov" && Global.Default.User().UserName != "jleach") {
            //    throw new HttpException(403, "Forbidden");
            //}
            var model = new DashboardYakovVM
            {
                AvailableDates = DashboardService.GetAvailableDates(),
                SelectedDate   = DashboardService.DefaultSelectedDate(),
                InsuranceList  = DashboardService.GetInsuranceList(),
                Insurance2List = DashboardService.GetInsurance2List()
            };

            model.InsuranceCostsByPatient = DashboardService.InsuranceCostsListItems(model.SelectedDate.Date, "GHI");
            return(GetView("DashboardYakov", model));
        }