public async Task DeleteJobPost(int id) { await _jobPostRepository.Delete(await _jobPostRepository.getById(id)); }