11 lines
208 B
C#
11 lines
208 B
C#
using System.Collections.ObjectModel;
|
|
|
|
namespace Common.Library;
|
|
|
|
public interface IRepository<TEntity>
|
|
{
|
|
ObservableCollection<TEntity> Get();
|
|
TEntity Get(int id);
|
|
bool Save(TEntity entity);
|
|
}
|