Mercurial > silverbladetech
diff SilverlightExampleApp/SilverlightExampleApp.Web/Repositories/IRepository.cs @ 49:502f5f365649
Initial load for Silverlight Example Application
author | Steven Hollidge <stevenhollidge@hotmail.com> |
---|---|
date | Tue, 17 Apr 2012 17:57:52 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SilverlightExampleApp/SilverlightExampleApp.Web/Repositories/IRepository.cs Tue Apr 17 17:57:52 2012 +0100 @@ -0,0 +1,14 @@ +using System.Collections.Generic; + +namespace SilverlightExampleApp.Web.Repositories +{ + public interface IRepository<T> + { + T Get(int id); + IList<T> GetAll(); + + void Insert(T item); + void Update(T item); + void Delete(T item); + } +} \ No newline at end of file