Files
TeleWave/backend/src/TeleWave.Application/Library/Genres/CreateGenre/CreateGenreCommand.cs
T

13 lines
531 B
C#

using LiteCqrs;
using TeleWave.Application.Common.Models;
namespace TeleWave.Application.Library.Genres.CreateGenre;
/// <summary><paramref name="Aliases"/> — варианты написания для сопоставления с метаданными
/// провайдеров; само название и ключ добавляются автоматически.</summary>
public sealed record CreateGenreCommand(
string Name,
string Slug,
IReadOnlyList<string>? Aliases = null
) : ICommand<Result<Guid>>;