public ActionResult UpdatePost(int postId) { ActionResult response = null; try { PostDO dataObject = _dataAccess.ViewPostById(postId); PostPO displayObject = PostMapper.PostDOToPO(dataObject); response = View(displayObject); } catch (Exception ex) { Logger.Log("Fatal", ex.TargetSite.ToString(), ex.Message, ex.StackTrace); } return(response); }