using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Knot.Contracts.Auth.Domain;

namespace Knot.Contracts.Auth.Infrastructure.Persistence;

public interface IAuthDbContext
{
    IQueryable<UserContract> Users { get; }
    Task<int> SaveChangesAsync(CancellationToken cancellationToken = default);
}