public async Task <IActionResult> PutToReassignTicketAsync(int ticketId, int adminId)
        {
            if (await _repo.GetTicketByIdAsync(ticketId) is Domain.Models.Tickets &&
                await _repo.GetAdminByIdAsync(adminId) is Domain.Models.Admins)
            {
                var newEntity = await _repo.ReassignTicketAsync(ticketId, adminId);

                await _repo.SaveAsync();

                return(Ok(newEntity));
            }
            else if (await _repo.GetTicketByIdAsync(ticketId) is null)
            {
                return(NotFound("Ticket id does not exist"));
            }