public IActionResult Post([FromBody] PostPublicationHouseView publicationHouse) { if (ModelState.IsValid) { _publicationHouseService.Post(publicationHouse); return(Ok(publicationHouse)); } return(BadRequest(ModelState)); }
public IActionResult Post([FromBody] PostPublicationHouseView publicationHouse) { if (ModelState.IsValid) { _publicationHouseService.Post(publicationHouse); return(Ok(publicationHouse)); } return(BadRequest(ModelState)); }