Currently, code will handle database actions in various controllers by having POST mappings with JSON data for various actions.
These actions should be contained in one or more API controller classes to handle these requests, such as POST /api/deck/update instead of POST /account/deck.
Currently, code will handle database actions in various controllers by having POST mappings with JSON data for various actions.
These actions should be contained in one or more API controller classes to handle these requests, such as
POST /api/deck/updateinstead of POST/account/deck.