view SilverlightExampleApp/SilverlightExampleApp.Web/Repositories/IRepository.cs @ 50:64f19743cfd6

Initial load for Silverlight Validation
author Steven Hollidge <stevenhollidge@hotmail.com>
date Wed, 18 Apr 2012 22:28:46 +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);
    }
}