Created and integrated a new AutoResultControllerBase to automate the response type based on the request.