Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public IActionResult Get(string cnpj) { if (!_cnpjValidator.ValidaCNPJ(cnpj)) { return(BadRequest(new { CNPJ = "CNPJ Invalido." })); } return(Ok(_mapper.Map <EmpresaDTO>(_iEmpresaService.GetByCNPJ(cnpj)))); }