コード例 #1
0
        public ActionResult SearchSessionWiseResult(int?SessionId)
        {
            FeeMasterCustomModel objModel = new FeeMasterCustomModel();

            objBDC             = new FeeMasterBusiness();
            objModel.SessionId = SessionId;
            var rs = objBDC.GetFeeMasterListing(objModel);

            @ViewBag.TotalStudents = rs.ToString().Count();
            return(PartialView(rs));
        }
コード例 #2
0
        //
        // GET: /FeeMaster/
        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;

            FeeMasterCustomModel objModel = new FeeMasterCustomModel();

            objBDC = new FeeMasterBusiness();
            var rs = objBDC.GetFeeMasterListing(objModel);

            return(View(rs));
        }