public async Task SaveNewJob(JobModel jobDetails, CancellationToken cancellationToken = default(CancellationToken))
        {
            var job = await Jobs.AsNoTracking().FirstOrDefaultAsync(storedJob => storedJob.DcJobId == jobDetails.DcJobId, cancellationToken);

            if (job != null)
            {
                return;
            }

            Jobs.Add(jobDetails);

            await SaveChangesAsync(cancellationToken);
        }
 public async Task <JobModel> GetJobByDcJobId(long dcJobId)
 {
     return(await Jobs.AsNoTracking().FirstOrDefaultAsync(job => job.DcJobId == dcJobId));
 }