private List <JobPlot> GetAllJobPlots() { List <JobPlot> lstJobPlots = new List <JobPlot>(); if (selectedJob != null) { DAL.DAL db = new DAL.DAL(); lstJobPlots = db.GetAllJobPlotsForJob(selectedJob.JobId); } return(lstJobPlots); }