示例#1
0
 public void UpdateJobApplicationStatus(int JobOfferId, bool Status)
 {
     try
     {
         JobApplicationsAdp adp = new JobApplicationsAdp();
         adp.UpdateJobApplicationStatus(Status, JobOfferId);
     }
     catch (Exception Ex)
     {
         this.UpdateError("Fail to update job application status: <br />" + Ex.Message);
     }
 }
示例#2
0
 public void DeleteJobApplication(int JobApplicationId)
 {
     try
     {
         JobApplicationsAdp adp = new JobApplicationsAdp();
         adp.DeleteJobApplication(JobApplicationId);
     }
     catch (Exception Ex)
     {
         this.UpdateError("Fail to delete job application: <br />" + Ex.Message);
     }
 }
示例#3
0
 public void UpdateJobApplication(int JobApplicationId, string Title, string CompanyName, decimal Salary,
                                  string Description, string ContactName, string PhoneNumber, string Email, int CategoryId, string CountryCode,
                                  int PositionId, bool Status)
 {
     try
     {
         JobApplicationsAdp adp = new JobApplicationsAdp();
         adp.UpdateJobApplication(Title, CompanyName, Salary, Description, ContactName, PhoneNumber, Email, CategoryId,
                                  CountryCode, PositionId, DateTime.Now, Status, JobApplicationId);
     }
     catch (Exception Ex)
     {
         this.UpdateError("Fail to update job application: <br />" + Ex.Message);
     }
 }
示例#4
0
        public JobsDS.JobApplicationsDataTable GetJobApplications(string cond)
        {
            JobApplicationsAdp adp = new JobApplicationsAdp();

            return(adp.GetJobApplications(cond));
        }