Esempio n. 1
0
        public async Task <IActionResult> AddAsync(AddUserModel addUserModel)
        {
            var signIn = addUserModel.SignIn;
            await _userApplicationService.AddAsync(addUserModel);

            return(Result(await _userApplicationService.SignInAsync(signIn)));
        }
 public async Task <IActionResult> AddAsync(AddUserModel model)
 {
     return(await _userApplicationService.AddAsync(model).ResultAsync());
 }
 public async Task <IActionResult> AddAsync(AddUserModel addUserModel)
 {
     return(Result(await _userApplicationService.AddAsync(addUserModel)));
 }