Skip to content

DescriptionContainerVmImpl

Namespace: SlottyMedia.Backend.ViewModel.Partial.DescriptionContainer

The DescriptionContainerVmImpl class is responsible for handling the logic for the DescriptionContainerVm.

public class DescriptionContainerVmImpl : IDescriptionContainerVm

Inheritance ObjectDescriptionContainerVmImpl
Implements IDescriptionContainerVm

Properties

ShowDescriptionText

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

public bool ShowDescriptionText { get; private set; }

Property Value

Boolean

Constructors

DescriptionContainerVmImpl(IUserService)

The constructor for the DescriptionContainerVmImpl.

public DescriptionContainerVmImpl(IUserService userService)

Parameters

userService IUserService

Methods

SubmitDescriptionAsync(String, Nullable<Guid>)

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

Parameters

description String

userId Nullable<Guid>

Returns

Task