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)); }
public SignInRequestModel(SignInInfoDto signInInfo) { SignInInfo = signInInfo; }
public Task <SignInResultDto> SignIn(SignInInfoDto signInInfo) { Validate(); return(_mediator.Send(new SignInRequestModel(signInInfo))); }