示例#1
0
 public void ChangeActiveStatus(Period period, bool activeStatus)
 {
     if (activeStatus)
     {
         PeriodActivatorService.Activate(periodRep, period);
     }
     else
     {
         period.DeActive();
     }
 }