Skip to content

Commit 110d373

Browse files
committed
fixes
1 parent eab885a commit 110d373

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

ADO.NET/02/03-PhoneBook/Presenters/ContactsPresenter.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ namespace _03_PhoneBook.Presenters
1313
public class ContactsPresenter
1414
{
1515
public List<Contact> Contacts { get; set; }
16-
1716
private string path = Environment.CurrentDirectory + "//contacts.json";
1817

1918
public ContactsPresenter()
@@ -27,10 +26,6 @@ public async void Save()
2726
{
2827
try
2928
{
30-
//var json = JsonSerializer.Serialize(Contacts);
31-
32-
//File.WriteAllText(path, json);
33-
3429
using (var fs = new FileStream(path, FileMode.Create))
3530
{
3631
await JsonSerializer.SerializeAsync(fs, Contacts);

JS.7z

22 MB
Binary file not shown.

0 commit comments

Comments
 (0)