public override MethodResult <UserDto> Handle(ByDtoIdDto dto) { var result = Continue <Domain.Processes.Users.Details>().With(dto.Id); if (result.IsFaulted) { return(Fail(result)); } return(new MethodResult <UserDto>(result.Result)); }
public override MethodResult <UserDto> Validate(ByDtoIdDto dto) { return(BeginValidation() .Validate(new NotNullEntity <ByDtoIdDto>(), dto) .ReturnResult()); }
public override MethodResult <UserDto> Auth(ByDtoIdDto dto) { return(Ok()); }