private async void AddTableType(object obj) { TableRepo.UndoChanges(Tables.ToList()); TableTypeRepo.UndoChanges(TableTypes.ToList()); TableTypeRepo.Add(TableType); UpdateTableTypeList(); await DialogOperations.DisplayInformationMessage("Masa Tipi Eklendi", "TableDialog"); }
private async void AddTable(object obj) { TableRepo.UndoChanges(Tables.ToList()); TableTypeRepo.UndoChanges(TableTypes.ToList()); SelectedTable = TableRepo.Add(new Masa() { Ad = SelectedTable.Ad, MasaTipiKod = SelectedTable.MasaTipiKod, AcikKapali = false }); UpdateTableList(); await DialogOperations.DisplayInformationMessage("Masa Eklendi", "TableDialog"); }