// GET: MyPanel/FillHospitalInfo/5 public ActionResult FillHospitalInfo(IndexForHospitalInfoViewModel indexForHospitalInfoViewModel) { return(View(indexForHospitalInfoViewModel.hospital)); }
public void GetHospitalViewInformation() { //in this object generation we initiate object with hospital information indexForHospitalInfoViewModel = new IndexForHospitalInfoViewModel(User.Identity.Name); }