示例#1
0
        public ActionResult Create()
        {
            var askCreateViewModel = (AskCreateViewModel)AskViewModelBuilder.Build(AskViewsEnum.Create, new AskServiceClient());

            return(View(askCreateViewModel));
        }
示例#2
0
        public ActionResult Index()
        {
            var askIndexViewModel = (AskIndexViewModel)AskViewModelBuilder.Build(AskViewsEnum.Index, new AskServiceClient());

            return(View(askIndexViewModel));
        }