public IActionResult NewJob(PrinterJob pj)
        {
            try
            {
                bool isItJobToPrintNow = _repository.AddNewJob(pj);
                if (isItJobToPrintNow)
                {
                    _printerService.StartPrinting();
                }
            }
            catch (Exception ex)
            {
                return(BadRequest(ex.Message));
            }

            return(Ok());
        }