예제 #1
0
        public async Task <SignInResultDto> SignInAsync(SignInInfoDto signInInfo)
        {
            var request = _mapper.Map <SignInRequest>(signInInfo);
            var client  = await _clientFactory.Create();

            var reply = await client.SignInAsync(request);

            return(_mapper.Map <SignInResultDto>(reply));
        }
예제 #2
0
 public SignInRequestModel(SignInInfoDto signInInfo)
 {
     SignInInfo = signInInfo;
 }
예제 #3
0
 public Task <SignInResultDto> SignIn(SignInInfoDto signInInfo)
 {
     Validate();
     return(_mediator.Send(new SignInRequestModel(signInInfo)));
 }