public ActionResult CandidateList()
        {
            PerformanceFilterViewModel model = new PerformanceFilterViewModel();

            model.BatchList  = _admissionService.GetBatchList().Where(w => w.BatchName != "Batch 0").ToList();
            model.CouresList = _admissionService.GetCourseList();
            return(View(model));
        }
예제 #2
0
        // GET: Report
        public ActionResult Index()
        {
            ReportFilterViewModel model = new ReportFilterViewModel
            {
                GetBatchList  = addmissionService.GetBatchList(),
                GetCourseList = addmissionService.GetCourseList(),
                MonthList     = (from MonthList e in Enum.GetValues(typeof(MonthList))
                                 select new RoleViewModel
                {
                    Id = (int)e,
                    Name = e.ToString()
                }).ToList(),
                YearList = reportService.GetYearList(),
            };

            model.GetLeadSourceList = addmissionService.GetLeadSourceList();
            model.PieClickPartName  = "General";
            return(View(model));
        }
        public ActionResult Index(int?RegNo)
        {
            ReportFilterViewModel Model = new ReportFilterViewModel();

            Model.GetBatchList  = _admissionService.GetBatchList().Where(w => w.BatchName != "Batch 0").ToList();
            Model.GetReviewList = _perforamnce.GetReViewList().Where(p => p.Name != "Weekly Term").ToList();
            Model.MonthList     = (from MonthList e in Enum.GetValues(typeof(MonthList))
                                   select new RoleViewModel
            {
                Id = (int)e,
                Name = e.ToString()
            }).ToList();
            Model.YearList = _report.GetYearList();

            if (RegNo.HasValue)
            {
                var info = _report.GetInfoByRegNo(RegNo.Value);
                if (info != null)
                {
                    Model.BatchId = info.BatchId.ToString();
                    Model.BatchNo = info.BatchId;
                    Model.RegNo   = info.Id;
                }
            }
            return(View(Model));
        }
 public ActionResult Index()
 {
     registerService.AddRegistrationIdInAdmissionMaster();
     return(View(addmissionService.GetBatchList()));
 }