//public Task<IQueryable<JobCategory>> getJobCategoryByUserId(string id)
        //{
        //    return _context.JobCategory.Where(x => x.UserId == id);
        //}

        public async Task <JobCategory> getJobCategoryWithJobPostById(int id)
        {
            var specs = new JobCategoryWithJobPostSpecification(id);

            return((await GetAsync(specs)).FirstOrDefault());
        }
        public async Task <IQueryable <JobCategory> > getAllJobCategoryWithJobPost()
        {
            var specs = new JobCategoryWithJobPostSpecification();

            return(ApplySpecification(specs));
        }