CRUD implemented

This commit is contained in:
2025-09-22 15:35:31 +02:00
parent 9c006b0674
commit e2c588794e
11 changed files with 207 additions and 105 deletions

View File

@@ -1,10 +1,14 @@
using System.Collections;
using Models;
namespace Repository;
public interface IRepository
{
IEnumerable ReadAll();
void WriteAll(IEnumerable items);
object Get(uint id);
List<PasswordStore> GetAll();
PasswordStore? Get(uint id);
void Edit(uint ID, PasswordStore newItem);
void Create(PasswordStore item);
void Delete(uint ID);
void Delete(PasswordStore item);
}