cadastrar(): void {
this.loadingSubject.next(true);
this.naoConformService.create(JSON.stringify(this.formNaoConform.value)).pipe(
finalize(() => { this.loadingSubject.next(false); })
).subscribe((response) => {
if (response && response.codigo === 200) {
this.resetForm();
this.messageService.sendMessage(response.mensagem, 'success');
} else {
this.messageService.sendMessage(response.mensagem, 'danger');
}
});
}