public ActionResult selectAll(string value)
 {
     ListViewModel model = new ListViewModel();
     model.item.Codigo = value;
     model.item.NomeSocial = value;
     model.item.Vulgo = value;
     model.Filter();
     model.OrderBy(q => q.NomeSocial);
     return Json(model.query.Take(50).Select(s => new
     {
         s.Id,
         s.NomeSocial,
         s.Vulgo
     }));
 }
 public ActionResult select(ListViewModel model)
 {
     model.Filter();
     model.OrderBy(q => q.NomeSocial);
     return View(model);
 }
 public ActionResult select()
 {
     var model = new ListViewModel();
     model.OrderBy(q => q.NomeSocial);
     return View(model);
 }