public async Task <List <Place> > GetAllPlaces(int id) { var point = await _pointRepository.GetById(id); var places = await _placeRepository.GetAll(); var pointPlaces = places.Where(p => p.Point?.Id == id); return(pointPlaces.ToList()); }