public async Task <IActionResult> GetTicketDetails(int id) { var respond = await _dbHandler.GetDetailsAsync(id); if (respond == null) { return(BadRequest(new GeneralMessage() { Message = "Get details is failed" })); } return(Ok(respond)); }