コード例 #1
0
        // GET: CustomerContact
        public ActionResult Index(string customerContactName, int?customerId, string jobTitle)
        {
            ViewData.Model = _repoCustomerContact.GetCustomerContacts(customerContactName: customerContactName,
                                                                      customerId: customerId, jobTitle: jobTitle);

            SetViewBagCustomers();

            return(View());
        }