Esempio n. 1
0
        //<summary>Add Job method to add a new job in the job list</summary>
        public static bool AddJobBL(Job newJob)
        {
            bool jobAdded = false;

            try
            {
                if (ValidateJob(newJob))
                {
                    JobDAL jobDAL = new JobDAL();
                    jobAdded = jobDAL.AddJobDAL(newJob);
                }
            }
            catch (JobPortalSystemException ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw ex;
            }

            return(jobAdded);
        }