常用方法
常用方法
常用方法
常用方法
// GET: 客戶聯絡人 public ActionResult Index(string searchString, string key = "Id", bool isDesc = false) { var contacts = repo.GetContacts(searchString); return(View(repo.OrderBy(contacts, key, isDesc).ToList())); }