Esempio n. 1
0
        //<summary>Delete Job method to delete a already existed job from the job list</summary>
        public static bool DeleteJobBL(string deleteJobName)
        {
            bool jobDeleted = false;

            try
            {
                if (deleteJobName != null)
                {
                    JobDAL jobDAL = new JobDAL();
                    jobDeleted = jobDAL.DeleteJobDAL(deleteJobName);
                }
            }
            catch (JobPortalSystemException)
            {
                throw;
            }
            catch (Exception ex)
            {
                throw ex;
            }

            return(jobDeleted);
        }