using System.Data.Entity.Core.Objects; using System.Linq; namespace Sevomin.Models.Repositories { public interface IRepository { void Add(T entity); T Find(K identifier); void Delete(T entity); void Save(); } public interface IUserRepository : IRepository { } public interface IJobRepository : IRepository { Job GetEmptyJobFor(Avalin avalin); IQueryable ListAll(); } public interface IParameterRepository : IRepository { IQueryable ListAll(); } }