public void UpdateAppliedStatus(AppliedJob job, string status)
 {
     if (job != null)
     {
         AppliedJob appliedJob = context.AppliedJobs.Where(r => r.JobId == job.JobId).FirstOrDefault();
         if (appliedJob != null)
         {
             appliedJob.AppliedStatus = status;
         }
     }
     context.SaveChanges();
 }
 public AppliedJob Add(AppliedJob job)
 {
     context.AppliedJobs.Add(job);
     context.SaveChanges();
     return(job);
 }