In get function use action parameter to read image and return Image object with base64 image in url field
In post function use action parameter to save image using url in Image object received, should return a Image model with url updated and insert in database
In ImageController: