Ejemplo n.º 1
0
        public GetPublicationHouseView Get()
        {
            GetPublicationHouseView publicationHousesBooksViewModel = _publicationHouseService.GetAll();

            return(publicationHousesBooksViewModel);
        }
        public IActionResult Get()
        {
            GetPublicationHouseViewModel listPublicationHouses = _publicationHouseService.GetAll();

            return(Ok(listPublicationHouses));
        }
        public ActionResult Index()
        {
            List <PublicationHouseViewModel> allPublicationHouses = _publicationHouseService.GetAll();

            return(View(allPublicationHouses));
        }