Exemplo n.º 1
0
        public ActionResult About()
        {
            GetAdministrationInfoViewModel viewModel      = new GetAdministrationInfoViewModel();
            WEB_ADM_INFORMATIONS           administration = _administrationInfo.GetAdministrationInfo();

            viewModel = Mapper.Map <WEB_ADM_INFORMATIONS, GetAdministrationInfoViewModel>(administration);
            return(View(viewModel));
        }
        public ActionResult GetDetailInfo()
        {
            GetAdministrationInfoViewModel viewModel      = new GetAdministrationInfoViewModel();
            WEB_ADM_INFORMATIONS           administration = _administrationInfo.GetAdministrationInfo();

            viewModel = Mapper.Map <WEB_ADM_INFORMATIONS, GetAdministrationInfoViewModel>(administration);

            return(PartialView("_LayoutAdministrationInfo", viewModel));
        }