//Konstruktor
        public DoctorTab()
        {
            InitializeComponent();
            List <Doctor> DoctorList = DoctorRepo.GetAllDoctors();

            DoctorListView.ItemsSource = DoctorList;
        }
예제 #2
0
 public ActionResult ViewDoc()
 {
     return(View(_doctorRepo.GetAllDoctors()));
 }