Example #1
0
 public IHttpActionResult Post([FromBody] ActorModel model)
 {
     if (!ModelState.IsValid)
     {
         return(BadRequest(ModelState));
     }
     return(Ok(_concertService.SaveActor(model).Response()));
 }