public async Task <ActionResult <VendaApiModel> > Post([FromBody] VendaApiModel entity, CancellationToken ct = default) { try { if (entity == null) { return(BadRequest()); } return(StatusCode(201, await _BlazorSupervisor.AddVendaAsync(entity, ct))); } catch (Exception ex) { return(StatusCode(500, ex)); } }