Esempio n. 1
0
        public ActionResult Delete(int id)
        {
            JobCardManager manager = new JobCardManager();
            JobCardView    jobCard = manager.GetJobCard(id, true);

            jobCard.Users     = manager.GetAllUsers();
            jobCard.Customers = manager.GetAllCustomers(true);
            jobCard.Designers = manager.GetAllDesigners(true);

            return(View(jobCard));
        }
Esempio n. 2
0
        public ActionResult History(int id)
        {
            JobCardManager manager = new JobCardManager();
            JobCardView    jobCard = manager.GetJobCard(id, true);

            jobCard.Customers = manager.GetAllCustomers(true);
            jobCard.Designers = manager.GetAllDesigners(true);
            jobCard.JobTypes  = manager.GetAllJobTypes(true);
            jobCard.Materials = manager.GetAllMaterials(true);
            jobCard.Users     = manager.GetAllUsers();
            return(View(jobCard));
        }