Example #1
0
        public async Task <IActionResult> Delete(string userId)
        {
            try
            {
                await _aspNetUsersService.DeleteAsync(userId);

                return(Ok());
            }
            catch (NotFoundCustomException exception)
            {
                return(NotFound(exception.Message));
            }
        }