1
0
mirror of https://github.com/bitwarden/server synced 2025-12-31 23:53:17 +00:00
Files
server/util/SeederApi/Commands/Interfaces/IDestroySceneCommand.cs
2025-12-19 15:15:31 +01:00

16 lines
594 B
C#

namespace Bit.SeederApi.Commands.Interfaces;
/// <summary>
/// Command for destroying data created by a single scene.
/// </summary>
public interface IDestroySceneCommand
{
/// <summary>
/// Destroys data created by a scene using the seeded data ID.
/// </summary>
/// <param name="playId">The ID of the seeded data to destroy</param>
/// <returns>The result of the destroy operation</returns>
/// <exception cref="Services.SceneExecutionException">Thrown when there's an error destroying the seeded data</exception>
Task<object?> DestroyAsync(string playId);
}