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