CRUD implemented
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user