Добавить sada

This commit is contained in:
zcher
2025-12-14 18:29:07 +03:00
parent 81524b0ffb
commit e70d540b80

View File

@@ -0,0 +1,16 @@
using System;
using System.Threading.Tasks;
namespace ContactsApp
{
public interface IContactRepository
{
public void AddContact(Contact contact);
public void UpdateContact(Guid id, Contact contact);
public void DeleteContact(Guid id);
public Contact GetContactById(Guid id);
public IEnumerable<Contact> GetAll();
public void LoadJSON(string file);
public string SaveJSON();
}
}