import { MatSnackBar } from '@angular/material/snack-bar';

@Injectable({
  providedIn: 'root',
})

export class SnackbarService {
  constructor(public snackBar: MatSnackBar) { }
  openSnackBar(message: string, action: string) {