source: IRepository.cs@ 73b69b2

main
Last change on this file since 73b69b2 was 877c13c, checked in by kikisrbinoska <srbinoskakristina07@…>, 4 months ago

Added files

  • Property mode set to 100644
File size: 299 bytes
Line 
1using System;
2
3public 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.