Example #1
0
 public void AddBlockedPeriod(BlockedPeriod blockedPeriod)
 {
     BlockedPeriods.Add(blockedPeriod);
     BlockedPeriods.SaveChanges();
 }
Example #2
0
 public void DeleteBlockedPeriod(BlockedPeriod blockedPeriod)
 {
     BlockedPeriods.Delete(blockedPeriod);
     BlockedPeriods.SaveChanges();
 }