public async Task <ActionResult <JobOfferRes> > Post([FromBody] JobOfferReq request) { int userId = int.Parse(HttpContext.User.Identity.Name); var response = await _jobOfferService.CreateAsync(request, userId); return(StatusCode(201, response)); }
public async Task <ActionResult <JobOfferRes> > Post([FromBody] JobOfferReq request) { int userId = int.Parse(HttpContext.User.Identity.Name); var response = await _jobOfferService.CreateAsync(request, userId); return(StatusCode(201, response)); }