Example #1
0
 public ActionResult Index(HomeModel model, int Type)
 {
     if (Type == (int)QueryType.Candidate)
         return RedirectToAction("Candidates", "Search", model.BasicSearch);
     else
         return RedirectToAction("Clients", "Search", model.BasicSearch);
 }
Example #2
0
 public ActionResult Index()
 {
     HomeModel Model = new HomeModel(Membership.GetUser(User.Identity.Name));
     return View(Model);
 }