Exemple #1
0
        public ActionResult Edit(string id)
        {
            var penpointViewModel = new PenpointViewModel();
            var editData          = _penpointEditDataGetter.Get(id);

            penpointViewModel.EditData    = editData;
            penpointViewModel.UserIsOwner = PlayerId == editData.PlayerId;
            return(View(penpointViewModel));
        }
Exemple #2
0
        public ActionResult Index(string id)
        {
            var penpointViewModel = new PenpointViewModel();
            var editData          = _penpointEditDataGetter.Get(id);

            penpointViewModel.EditData = editData;
            return(View(penpointViewModel));
        }