Ejemplo n.º 1
0
        public async Task <IActionResult> AddPassword([FromBody] AddPasswordDto addPasswordDto)
        {
            var result = await _profileService.AddPassword(addPasswordDto, UserId);

            if (!result.Succedeed)
            {
                return(BadRequest());
            }

            return(NoContent());
        }