using ContactLibrary;

namespace DAL.Interfaces
{
    public interface IUOW
    {
        //save pending changes to the data store
        void Commit();
        // standard autocreated repos, since we do not have any special methods in interfaces
        //IEFRepository<Person> Persons { get; }
        IEFRepository<Contact> Contacts { get; }
        IEFRepository<ContactType> ContactTypes { get; }


        IUserRepository Users { get; }
        IUserRoleRepository UserRoles { get; }
        IRoleRepository Roles { get; }
        IUserClaimRepository UserClaims { get; }
        IUserLoginRepository UserLogins { get; }
    }
}
