view SilverlightExampleApp/SilverlightExampleApp.Web/Repositories/IRepository.cs @ 115:4de4e7829319

Working code, need to tidy up layout
author stevenh7776
date Sun, 20 May 2012 15:50:37 +0100
parents 502f5f365649
children
line wrap: on
line source

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);
    }
}