public ActionResult Edit(string customerId) { ViewData["CurrentItem"] = "Identitas Pasien"; RegistrationFormViewModel viewModel = RegistrationFormViewModel.CreateRegistrationFormViewModel(_mCustomerRepository, customerId); return(View(viewModel)); }
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)); }