Exemplo n.º 1
0
        public ActionResult Index(string searchTerm)
        {
            AccomodationTypesListingModel model = new AccomodationTypesListingModel();

            model.SearchTerm        = searchTerm;
            model.AccomodationTypes = accomodationTypesService.SearchAllAccomodationTypes(searchTerm);
            return(View(model));
        }