public PartialViewResult ApartmentList(int id) { List <Apartment> apartments = apartmentService.GetLocationApartments(id); return(PartialView("_ApartmentsList", apartments)); }