public override ActionResult Index(TextBlockType currentContent)
        {
            TextBlockViewModel viewModel = new TextBlockViewModel();

            viewModel.Heading = currentContent.Heading;
            viewModel.Content = currentContent.Content;

            return(PartialView(viewModel));
        }
Ejemplo n.º 2
0
 public TextBlockWrapper(TextBlockViewModel textBlockViewModel)
 {
     _textBlockViewModel = textBlockViewModel;
 }
Ejemplo n.º 3
0
 public TextBlockWrapper(TextBlockViewModel textBlockViewModel)
 {
     _textBlockViewModel = textBlockViewModel;
 }