public async Task <Medic> FindByIdAsync(int id)
 {
     return(await _medicRepository.FindByIdAsync(id));
 }