view SilverlightExampleApp/SilverlightExampleApp.Web/Repositories/IRepository.cs @ 92:a4c165698579

repo.config added
author stevenhollidge <stevenhollidge@hotmail.com>
date Mon, 30 Apr 2012 10:58:45 +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);
    }
}