you need to define the following functions that will serve as the controller actions for your ticket endpoints. For each of these controller functions