Combine add event and send notification in one button

I am trying to write an app that takes events and sends a notifications on that day, and when writing the calendar code I use: “<ion-button fill=“outline” expand=“block” (click)=“addEvent()” [disabled]=“event.title == ‘’”>Add Event” to add an event and when I write a schedule notification I write:“<ion-button expand=“block” (click)=“scheduleNotification()” >Schedule”. So is there any way to combine these two in 1 button?

why not just call this method inside of the addEvent method?