Exemplo n.º 1
0
        public IActionResult GetUser()
        {
            var doc = _manager.GetUser(null);

            if (doc == null)
            {
                return(NotFound(new ErrorResponse(404, $"User was not found.")));
            }
            return(Ok(doc));
        }