コード例 #1
0
        public ActionResult Edit(string customerId)
        {
            ViewData["CurrentItem"] = "Identitas Pasien";
            RegistrationFormViewModel viewModel =
                RegistrationFormViewModel.CreateRegistrationFormViewModel(_mCustomerRepository, customerId);

            return(View(viewModel));
        }
コード例 #2
0
        public ActionResult Registration()
        {
            ViewData["CurrentItem"] = "Identitas Pasien";
            RegistrationFormViewModel viewModel =
                RegistrationFormViewModel.CreateRegistrationFormViewModel(_mCustomerRepository, null);

            //if (usePopup.HasValue)
            //{
            //    if (usePopup.Value)
            //        return View("Registration", "MasterPopup", viewModel);
            //}
            return(View(viewModel));
        }