Beispiel #1
0
 public ActionResult PublicHouses()
 {
     return(View(publicHouseService.Get()));
 }
Beispiel #2
0
        public PublicHouseViewGetAll Get()
        {
            var publicHouses = _service.Get();

            return(publicHouses);
        }
        public ActionResult Get(int id)
        {
            PublicationHouseViewModel publicationHouse = _publicationHouseService.Get(id);

            return(View(publicationHouse));
        }