Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public async Task <IActionResult> Create([FromBody] CreateOpportunityRequest opportunity) { var createdOpportunity = await _opportunityService.Register(opportunity); if (createdOpportunity != null) { return(Response(createdOpportunity, 201)); } else { return(Response(code: 400)); } }