예제 #1
0
 public AllInactiveLeasesVM(MainWindowVM main, ITenantDBsDir dir) : base(main, dir)
 {
     AddStallToTenantCmd   = LeaseCRUD1VM.GetAddStallToTenantCmd(this);
     RenewInactiveLeaseCmd = LeaseCRUD1VM.GetRenewInactiveLeaseCmd(this);
     UndoTerminationCmd    = R2Command.Relay(UndoTermination,
                                             _ => AppArgs.CanUndoLeaseTermination(false),
                                             "Undo Lease Termination");
     RebuildSoaCmd = R2Command.Async(RebuildSoA, _ => AppArgs.CanRunAdHocTask(false),
                                     "Rebuild Statement of Account");
 }