// GET: DashBoard/AccomodationTypes
        public ActionResult Index(string searchTerm)
        {
            AccomodationTypeModels model = new AccomodationTypeModels();

            model.SearchTerm        = searchTerm;
            model.accomodationTypes = typesService.SearchAccomodationType(searchTerm);
            return(View(model));
        }
Ejemplo n.º 2
0
        // GET: Dashboard/AccomodationType
        public ActionResult Index(string searchTerm)
        {
            AccomodationTypeActionModel model2 = new AccomodationTypeActionModel();
            AccomodationTypeModels      model  = new AccomodationTypeModels();

            model.SearchTerm        = searchTerm;
            model.accomodationTypes = model2.SearchAccomodationTypes(searchTerm);

            return(View(model));
        }