예제 #1
0
 public void Delete()
 {
     if (Bookings.Count == 0)
     {
         FileSystemCRUD.Delete(path: $@"{DIRECTORY}\{Id}");
     }
     //else
     // Notify user (Can't delete offer with active reservations)
 }
예제 #2
0
 public void Delete() => FileSystemCRUD.Delete(path: $@"{DIRECTORY}\{Id}");