public void GetAllHospitals()
 {
     _service.GridDataSource = _repository.GetAllHospitals();
 }
Exemple #2
0
 public List <Hospital> GetHospitals()
 {
     return(_repoHospital.GetAllHospitals());
 }
 public async Task <IEnumerable <Hospital> > GetAllHospitals()
 {
     return(await _hospitalRepository.GetAllHospitals());
 }