Beispiel #1
0
 public IActionResult Doctors(int noPage)
 {
     if (noPage < 1)
     {
         noPage = 1;
     }
     if (noPage > _service.GetNumberOfPagesForDoctors())
     {
         noPage = _service.GetNumberOfPagesForDoctors();
     }
     return(View(_service.Get5DoctorsByIndex(noPage)));
 }