public IActionResult UpdateJobOffer([FromBody] JobOfferForManipulationDTO jobOffer, Guid id) { if (jobOffer == null) { return(BadRequest()); } var jobOfferUpdated = _jobOfferService.UpdateJobOffer(jobOffer, id); return(Ok(jobOfferUpdated)); }
public IActionResult UpdateJobOffer([FromBody] JobOfferForManipulationDTO jobOffer, Guid id) { if (jobOffer == null) { return(BadRequest()); } var jobOfferUpdated = _jobOfferService.UpdateJobOffer(jobOffer, id); return(Ok(jobOfferUpdated)); }