view SilverlightExampleApp/SilverlightExampleApp.Web/Repositories/IRepository.cs @ 70:39ba36cc82c5

not sure about these...
author Steven Hollidge <stevenhollidge@hotmail.com>
date Mon, 23 Apr 2012 11:06:29 +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);
    }
}