Skip to content

IDescriptionContainerVm

Namespace: SlottyMedia.Backend.ViewModel.Partial.DescriptionContainer

Interface for the DescriptionContainer ViewModel.

public interface IDescriptionContainerVm

Properties

ShowDescriptionText

Flag to determine whether to show the description text or the input field.

public abstract bool ShowDescriptionText { get; }

Property Value

Boolean

Methods

SubmitDescriptionAsync(String, Nullable<Guid>)

Submits the description asynchronously.

Task SubmitDescriptionAsync(string description, Nullable<Guid> userId)

Parameters

description String
The description text to submit.

userId Nullable<Guid>
The ID of the user to update the description for.

Returns

Task