Exemplo n.º 1
0
        public ActionResult Index()
        {
            var aboutModel     = _aboutPageServices.GetAboutPage();
            var aboutViewModel = aboutModel.GetAboutViewModel();

            return(View(aboutViewModel));
        }
Exemplo n.º 2
0
        public ActionResult About()
        {
            var about     = aboutPageServices.GetAboutPage();
            var viewModel = about.GetAboutViewModel(); // about model çevirdik

            return(View(viewModel));
        }