Ejemplo n.º 1
0
 public ActionResult Search1(Search model)
 {
     ViewData["MsgUsername"] = Session["FirstName"];
     RoomRepository _RoomAccountRepository = new RoomRepository(model);
     return View("SearchResult", _RoomAccountRepository.Searchwithcriterion());
 }
Ejemplo n.º 2
0
        public ActionResult searchResult(Search Model)
        {
            RoomRepository _RoomRepository = new RoomRepository(Model);

            return View(_RoomRepository.Searchwithcriterion());
        }
Ejemplo n.º 3
0
 public ActionResult Search(Search model)
 {
     RoomRepository _RoomAccountRepository = new RoomRepository(model);
     return View("SearchResult", _RoomAccountRepository.Searchwithcriterion());
 }