Esempio n. 1
0
        public ActionResult GetRepeatStaff(string strPosition)
        {
            RepeatStaffPositionsVM model = new RepeatStaffPositionsVM()
            {
                LstPossiblePositions    = AnalyticsDAL.GetPossiblePositions(),
                LstRepeatStaffPositions = AnalyticsDAL.GetRepeatStaffPositions(strPosition),
                StrPosition             = strPosition
            };

            return(PartialView("AnalyticsPartials/_RepeatStaffs", model));
        }
Esempio n. 2
0
        public ActionResult Analytics()
        {
            AnalyticsVM model = new AnalyticsVM();

            model._budgetAverage_vm.LstBudgetAverages           = AnalyticsDAL.GetBudgetAverages();
            model._musicalsCount_vm.LstMusicalCounts            = AnalyticsDAL.GetMusicalCounts();
            model._repeatStaffPositions_vm.LstPossiblePositions = AnalyticsDAL.GetPossiblePositions();
            model._membersByVoicePart_vm.LstAllVoiceParts       = AnalyticsDAL.GetPossibleVoiceParts();
            model._nonSinging_vm.LstNonSingingMembers           = AnalyticsDAL.GetNonSingingMembers();
            model._allActorsNotIn_vm.LstAllShows = ShowsDAL.GetAllShows();

            return(View(model));
        }