// GET: CustomerContactPerson
        public ActionResult Index()
        {
            var        result     = customerContactPerson.GetAll().Include(x => x.客戶資料);
            var        i          = 0;
            SelectList selectList = new SelectList(customerContactPerson.GetAll().Select(x => new { id = i + 1, 職稱 = x.職稱 }).Distinct().ToList(), "職稱", "職稱");

            ViewBag.contactTitle = selectList;

            return(View(result));
        }
        // GET: 客戶聯絡人
        public ActionResult Index(string KeyWord)
        {
            var 客戶聯絡人 = oRepository.GetAll(KeyWord).Include(客 => 客.客戶資料);

            return(View(客戶聯絡人.ToList()));
        }