Example #1
0
 public void AddContact(string email)
 {
     DAL.Job_DAL job = new DAL.Job_DAL();
     if (job.CheckEmailExist(email) >= 1)
     {
         if (job.EmailExistWithJobId(email, job_id) <= 0)
         {
             job.AddContact(email, job_id);
         }
     }
 }
Example #2
0
 public bool AddContact(string email)
 {
     DAL.Job_DAL job = new DAL.Job_DAL();
     if (job.CheckEmailExist(email) >= 1)
     {
         if (job.EmailExistWithJobId(email, job_id) <= 0)
         {
             job.AddContact(email, job_id);
             return(true);
         }
     }
     return(false);
 }