public ActionResult Search(CommonSearch search, FormCollection collection) { if (search.SearchQuery.IsNullOrEmpty()) { return(PartialView(search)); } Response.Redirect(search.ToString()); return(PartialView(search)); }
public ActionResult Search(CommonSearch search, FormCollection collection) { if (search.SearchQuery.IsNullOrEmpty()) { return(PartialView(search)); } Response.Redirect(search.ToString()); return(PartialView(search)); }