public override ActionResult Index(TextBlockType currentContent) { TextBlockViewModel viewModel = new TextBlockViewModel(); viewModel.Heading = currentContent.Heading; viewModel.Content = currentContent.Content; return(PartialView(viewModel)); }
public TextBlockWrapper(TextBlockViewModel textBlockViewModel) { _textBlockViewModel = textBlockViewModel; }
public TextBlockWrapper(TextBlockViewModel textBlockViewModel) { _textBlockViewModel = textBlockViewModel; }