Övergått till entity framework + lagt till ny tabell
This commit is contained in:
@ -1,10 +1,9 @@
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace Common.Library;
|
||||
namespace Common.Library;
|
||||
|
||||
public interface IRepository<TEntity>
|
||||
{
|
||||
Task<ObservableCollection<TEntity>> Get();
|
||||
TEntity Get(int id);
|
||||
bool Save(TEntity entity);
|
||||
Task<IEnumerable<TEntity>> Get();
|
||||
Task<TEntity?> Get(int id);
|
||||
Task<bool> Save(TEntity entity);
|
||||
bool Delete(TEntity entity);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user