Example #1
0
 public void UpdateBusinessClientJob(Job job)
 {
     try
     {
         BusinessClientJobsDAL clientData = new BusinessClientJobsDAL();
         clientData.UpdateBusinessClientJob(job);
     }
     catch (Exception e)
     {
         MessageBox.Show($"Error: {e.Message}");
     }
 }
Example #2
0
        public List <Job> GetBusinessClientJobByClientID(string id)
        {
            List <Job> jobs = new List <Job>();

            try
            {
                BusinessClientJobsDAL clientData = new BusinessClientJobsDAL();
                jobs = clientData.GetBusinessClientJobsByClientID(id);
            }
            catch (Exception e)
            {
                MessageBox.Show($"Error: {e.Message}");
            }

            return(jobs);
        }