using MTWorkHR.Core.Entities;
using MTWorkHR.Core.IRepositories.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MTWorkHR.Core.IRepositories
{
    public interface ITeamRepository : IRepository<Team>
    {
        Task<Team> GetByIdWithAllChildren(long id);
        // Task<bool> AssignAdminManager(string userId, long teamId, bool isAdmin);
        Task<Tuple<IQueryable<Team>, int>> GetAllWithChildrenAsync();
    }
}
