public IActionResult CancelPrintingJob()
        {
            try
            {
                _repository.CancelPrintingJob();
                _printerService.CancelPrintingJob();
            }
            catch (Exception ex)
            {
                return(BadRequest(ex.Message));
            }

            return(Ok());
        }