public async Task <IActionResult> CreateJobPosting(JobSubmit jobSubmit) { var result = await _jobManager.CreateJobPosting(jobSubmit, CurrentUserId); if (result.Succeeded) { return(Ok(result)); } else { return(BadRequest(result)); } }