public IActionResult AddJob(int ID)
        {
            JobCustomerVM vm = new JobCustomerVM();

            vm.Customer = customerDAO.GetCustomerByID(ID);
            // vm.Job.CustomerID = ID;
            return(View(vm));
        }
Esempio n. 2
0
        public IActionResult ViewJobs(int ID)
        {
            JobCustomerVM vm = new JobCustomerVM();

            vm.Customer = customerDAO.GetCustomerByID(ID);
            vm.JobList  = jobDAO.GetJobs(ID);
            return(View(vm));
        }