Guest User

Untitled

a guest
Jan 22nd, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. using System.Collections.Generic;
  2.  
  3. namespace NotificationManager.Infrastructure
  4. {
  5. public interface IRepository<T, in K> where T : IEntity<K>
  6. {
  7. IEnumerable<T> List { get; }
  8. void Add(T entity);
  9. void Delete(T entity);
  10. void Update(T entity);
  11. T FindById(K Id);
  12. }
  13. }
Add Comment
Please, Sign In to add comment