public ActionResult <ParticipanteResponseModel> Post(ParticipanteCreateRequest model) { if (ModelState.IsValid) { return(Ok(_svc.InserirParticipante(model))); } return(BadRequest(ModelState)); }
public void InserirParticipante_Vazio() { var result = _service.InserirParticipante(null); Assert.Null(result); }