using System; using Bit.Core.Models.Table; using System.Collections.Generic; using System.Threading.Tasks; using Bit.Core.Models.Data; namespace Bit.Core.Repositories { public interface IGroupRepository : IRepository { Task>> GetByIdWithCollectionsAsync(Guid id); Task> GetManyByOrganizationIdAsync(Guid organizationId); Task> GetManyUserDetailsByIdAsync(Guid id); Task> GetManyIdsByUserIdAsync(Guid organizationUserId); Task> GetManyGroupUsersByOrganizationIdAsync(Guid organizationId); Task CreateAsync(Group obj, IEnumerable collections); Task ReplaceAsync(Group obj, IEnumerable collections); Task DeleteUserAsync(Guid groupId, Guid organizationUserId); Task UpdateUsersAsync(Guid groupId, IEnumerable organizationUserIds); } }