# Class: UserController

## UserController

#### new UserController(db)

  REST API - User controller. Allows user to manage users from client app through REST API.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `db` | Connection |

  Source:
    - app/controllers/UserController.js, line 12

### Methods

#### find(req, res, next)

  GET /api/users/:id For more information see web service documentation.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `req` |  |
  `res` |  |
  `next` |  |

  Source:
    - app/controllers/UserController.js, line 47

#### findAll(req, res, next)

  GET /api/users For more information see web service documentation.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `req` |  |
  `res` |  |
  `next` |  |

  Source:
    - app/controllers/UserController.js, line 26

#### save(req, res, next)

  POST /api/users PUT /api/users/:id For more information see web service documentation.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `req` |  |
  `res` |  |
  `next` |  |

  Source:
    - app/controllers/UserController.js, line 72