Table of Contents

Interface IDto<TModel>

Namespace
Magicalizer.Api.Dto.Abstractions
Assembly
Magicalizer.Api.Dto.Abstractions.dll

DTO that can be converted to a model.

public interface IDto<TModel> : IDto where TModel : class, IModel

Type Parameters

TModel

Model type.

Methods

ToModel()

Converts the DTO to the model.

TModel ToModel()

Returns

TModel

Model.