using Bit.Core.Entities;
using Bit.Core.Models.Data;
namespace Bit.Core.OrganizationFeatures.OrganizationCollections.Interfaces;
public interface IUpdateCollectionCommand
{
///
/// Updates a collection.
///
/// The collection to update.
/// (Optional) The groups that will have access to the collection.
/// (Optional) The users that will have access to the collection.
/// The updated collection.
Task UpdateAsync(Collection collection, IEnumerable groups = null,
IEnumerable users = null);
}