Interface ICommandResponseDto<T>
- Namespace
- Raytha.Application.Common.Models
- Assembly
- Raytha.Application.dll
public interface ICommandResponseDto<T>
Type Parameters
T
Properties
Error
Property Value
- string
Result
Property Value
- T
Success
Property Value
- bool
Methods
AddErrors(IEnumerable<ValidationFailure>)
void AddErrors(IEnumerable<ValidationFailure> errors)
Parameters
errors
IEnumerable<ValidationFailure>
GetErrors()
IEnumerable<ValidationFailure> GetErrors()
Returns
- IEnumerable<ValidationFailure>