using Kreta.DataAccess.Interfaces;
namespace Kreta.DataAccessManual.Interfaces
{
    /// 
    /// CRUD alap interface a Dal-okhoz.
    /// 
    /// 
    public interface IBaseDal
        where T : IEntity
    {
        /// 
        /// Visszaad egy új entitást
        /// 
        T Get();
        T Get(int id);
        void Insert(T dto);
        void Update(T dto);
        void Delete(T dto);
        void Delete(int id);
    }
}