Esempio n. 1
0
        public async Task <AuthenticationResultModel> GetResultOfLoginTry(UserViewModel userViewModel)
        {
            var user = _mapper.Map <UserModel>(userViewModel);

            return(await _userStorage.Authenticate(user));
        }