Table of Contents

Interface ICommandResponseDto<T>

Namespace
Raytha.Application.Common.Models
Assembly
Raytha.Application.dll
public interface ICommandResponseDto<T>

Type Parameters

T

Properties

Error

string Error { get; }

Property Value

string

Result

T Result { get; }

Property Value

T

Success

bool Success { get; }

Property Value

bool

Methods

AddErrors(IEnumerable<ValidationFailure>)

void AddErrors(IEnumerable<ValidationFailure> errors)

Parameters

errors IEnumerable<ValidationFailure>

GetErrors()

IEnumerable<ValidationFailure> GetErrors()

Returns

IEnumerable<ValidationFailure>