Exemplo n.º 1
0
        private async Task <SignInViewModel> GetSignInViewModel()
        {
            var vm = new SignInViewModel();

            vm.Content = await _contentRepository.GetContentByKeyAsync("sign-in");

            return(vm);
        }
        public async Task <ActionResult> Index()
        {
            var vm = new HomeViewModel();

            vm.Content = await _contentRepository.GetContentByKeyAsync("home");

            return(View(vm));
        }