using System;
using System.Data.Entity;

namespace Rainbow.Data
{
    public interface IUnitOfWork : IDisposable
    {
        void SaveChanges();
        ICustomersRepository Customers { get; }
        IDomainsRepository Domains { get; }
        IRegistrarsRepository Registrars { get; }
        IServersRepository Servers { get; }
        IProjectsRepository Projects { get; }
        ITimeSheetEntriesRepository TimeSheetEntries { get; }
        ITicketsRepository Tickets { get; }
        ITicketResponsesRepository TicketResponses { get; }
		IDbSet<Models.ApplicationUser> Users { get; }
    }
}
