public void AddOffer(Offer offer) { List <Offer> offers = AllOffers(); offers.Add(offer); JsonFileWriter.WriteToJsonOffer(offers, JsonFileName); }
public void AddOffer(Offer offer) { List <Offer> offers = AllOffers(); offers.Add(offer); JsonFileWriter.WriteToJsonOffer(offers, JsonFileName); }