Beispiel #1
0
        public ActionResult MissionNote()
        {
            IEnumerable <MissionNoteModel> IEMNM = new MissionsRepository().GetMissionCode(User.Identity.GetUserId());
            MissionNoteViewModel           mnvm  = new MissionNoteViewModel();

            mnvm.MissionNoteList = IEMNM.ToList();
            return(View(mnvm));
        }
Beispiel #2
0
        public ActionResult getMissionCountString()
        {
            IEnumerable <MissionNoteModel> IEMNM = new MissionsRepository().GetMissionCode(User.Identity.GetUserId());
            MissionNoteViewModel           mnvm  = new MissionNoteViewModel();

            mnvm.MissionNoteList = IEMNM.ToList();


            return(Json(new { MissionFinshNumber = mnvm.MissionFinshNumber, MissionNumber = mnvm.MissionNumber }, JsonRequestBehavior.AllowGet));
        }