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

            return(Result(await _userApplicationService.SignInAsync(signIn)));
        }
Ejemplo n.º 2
0
 public async Task <IActionResult> AddAsync(AddUserModel model)
 {
     return(await _userApplicationService.AddAsync(model).ResultAsync());
 }
Ejemplo n.º 3
0
 public async Task <IActionResult> AddAsync(AddUserModel addUserModel)
 {
     return(Result(await _userApplicationService.AddAsync(addUserModel)));
 }