示例#1
0
        public async Task <IActionResult> CreateJobPosting(JobSubmit jobSubmit)
        {
            var result = await _jobManager.CreateJobPosting(jobSubmit, CurrentUserId);

            if (result.Succeeded)
            {
                return(Ok(result));
            }
            else
            {
                return(BadRequest(result));
            }
        }