Example #1
0
 public ActionResult Post([FromBody] RequestModel rabbit)
 {
     _rabbitService.AddRabbit(rabbit);
     return(StatusCode(StatusCodes.Status201Created, $"The rabbit fact has been created."));
 }