main
|
Last change
on this file since b373fea was 877c13c, checked in by kikisrbinoska <srbinoskakristina07@…>, 4 months ago |
|
Added files
|
-
Property mode
set to
100644
|
|
File size:
299 bytes
|
| Line | |
|---|
| 1 | using System;
|
|---|
| 2 |
|
|---|
| 3 | public class Class1
|
|---|
| 4 | {
|
|---|
| 5 | public interface IRepository<TEntity> where TEntity : class
|
|---|
| 6 | {
|
|---|
| 7 | TEntity? GetById(int id);
|
|---|
| 8 | IEnumerable<TEntity> GetAll();
|
|---|
| 9 | void Add(TEntity entity);
|
|---|
| 10 | void Update(TEntity entity);
|
|---|
| 11 | void Delete(TEntity entity);
|
|---|
| 12 | }
|
|---|
| 13 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.