Esempio n. 1
0
        public async Task <PersonViewModel> SignIn(UserViewModel userViewModel)
        {
            userViewModel.Password = Divers.GenerateMD5(userViewModel.Password);

            Person person = await _personRepository.SignIn(_mapper.Map <User>(userViewModel));

            return(await _personAppService.GetProfileTeam(person));
        }