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