<p> {{message }} </p>
<mat-dialog-actions *ngIf="type == 'yesno'">
  <button class="mat-raised-button"(click)="no()">نه</button>
  <button class="mat-raised-button mat-primary"(click)="yes()">بله</button>
</mat-dialog-actions>

<mat-dialog-actions *ngIf="type == 'alert'">
  <button class="mat-raised-button"(click)="close()">بستن</button>
</mat-dialog-actions>
