Ejemplo n.º 1
0
        public async Task <IActionResult> Delete([FromBody] string id)
        {
            IdentityResult result = await _applicationUserService.DeleteUserAsync(id);

            if (!result.Succeeded)
            {
                return(BadRequest(404));
            }

            return(Ok(200));
        }