Esempio n. 1
0
        public async Task <IActionResult> ChangePassword(ChangeUserPasswordDto payload)
        {
            var result = await _authenticateService.ChangePassword(payload);

            return(Ok(result));
        }
Esempio n. 2
0
        public async Task <IActionResult> ChangePassword(ChangePasswordDto model)
        {
            await _authenticateService.ChangePassword(model.CurrentPassword, model.NewPassword);

            return(Ok());
        }