public IEnumerable <HotelDTO> GetAll() => _mapper.Map <IEnumerable <HotelDTO> >(_hotelRepository.GetAll());
public ActionResult HotelsOverview() { List <Hotel> hotels = db.GetAll(); return(View(hotels)); }