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

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