예제 #1
0
 public StaffEditCaseViewModel(Case @case) : base(@case)
 {
     StateAction = State == CaseState.NEW ? "Start" : "Stop";
 }
예제 #2
0
 public EditCaseViewModel(Case @case) : base(@case)
 {
     StateAction = State == CaseState.CLOSED ? "Reopen" : "Close";
 }