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)); }
public ActionResult Index(string id) { var penpointViewModel = new PenpointViewModel(); var editData = _penpointEditDataGetter.Get(id); penpointViewModel.EditData = editData; return(View(penpointViewModel)); }