using Dollet.Core.Abstractions.Repositories;

namespace Dollet.Core.Abstractions
{
    public interface IUnitOfWork
    {
        IAccountRepository AccountRepository { get; }
        IAppDataRepository AppDataRepository { get; }
        ICategoryRepository CategoryRepository { get; }
        ICurrencyRepository CurrencyRepository{ get; }
        IExpensesRepository ExpensesRepository { get; }
        IIncomesRepository  IncomesRepository { get; }
        Task<bool> CommitAsync();
    }
}