public async Task <ActionResult <List <DoctorDto> > > Get() { var list = await _repository.GetAllDto(); if (list.Count == 0) { return(NotFound()); } return(list); }