public ActionResult Index()
        {
            QRService      objService  = new QRService();
            QRModel        objModel    = new QRModel();
            List <QRModel> lstQR       = new List <QRModel>();
            CommonService  objCService = new CommonService();

            int did  = 0;
            int acid = 0;

            if (Session["DID"] != null)
            {
                did  = Convert.ToInt32(Session["DID"].ToString());
                acid = Convert.ToInt32(Session["ACID"].ToString());
            }

            lstQR           = objService.getQR();
            objModel.ListQR = new List <QRModel>();
            objModel.ListQR.AddRange(lstQR);

            List <SchoolModel> lstSchool = new List <SchoolModel>();

            lstSchool           = objCService.getActiveSchool(did);
            objModel.ListSchool = new List <SchoolModel>();
            objModel.ListSchool.AddRange(lstSchool);

            List <StandardModel> lstStd = new List <StandardModel>();

            lstStd           = objCService.getActiveStd();
            objModel.ListStd = new List <StandardModel>();
            objModel.ListStd.AddRange(lstStd);

            List <ExamModel> lstExam = new List <ExamModel>();

            lstExam           = objCService.getActiveExam();
            objModel.ListExam = new List <ExamModel>();
            objModel.ListExam.AddRange(lstExam);
            return(View(objModel));
        }