Example #1
0
        static void MenuOptions_CreateJob()
        {
            JobDTO job = new JobDTO();

            Console.Write("Please enter name of Job to add:");
            job.Name = Console.ReadLine();

            Console.Write("Please enter ID of client:");
            job.ClientID = Console.ReadLine();
            job.ID       = Guid.NewGuid().ToString();

            JMS_Commands.CreateJob(job);

            job = null;
            GC.Collect();
        }