예제 #1
0
        public ActionResult SearchSessionWiseResult(int?SessionId)
        {
            AdmissionFeeMasterCustomModel objModel = new AdmissionFeeMasterCustomModel();

            objBDC             = new AdmissionFeeMasterBusiness();
            objModel.SessionId = SessionId;
            var rs = objBDC.GetAdmissionFeeMasterListing(objModel);

            @ViewBag.TotalStudents = rs.ToString().Count();
            return(PartialView(rs));
        }
예제 #2
0
        //
        // GET: /AdmissionFeeMaster/
        public ActionResult Index()
        {
            SessionMasterModel objSessionModel = new SessionMasterModel();

            objBDCCommon = new CommonMasterDataBusiness();

            var SessionType = objBDCCommon.GetSessionMaster();

            objSessionModel.SessionList = new SelectList(SessionType, "SessionId", "Title");
            ViewBag.SessionInfo         = objSessionModel.SessionList;

            AdmissionFeeMasterCustomModel objModel = new AdmissionFeeMasterCustomModel();

            objBDC = new AdmissionFeeMasterBusiness();
            var rs = objBDC.GetAdmissionFeeMasterListing(objModel);

            return(View(rs));
        }