public IActionResult ManageAddTags(int id) { int userProfileId = GetCurrentUserProfileId(); var post = _postRepository.GetUserPostById(id, userProfileId); var tagOptions = _postTagRepository.GetTagsWORelationshipByPostId(post.Id); var vm = new PostTagViewModel() { Post = post, TagOptions = tagOptions }; return(View(vm)); }