public ActionResult DeleteCommand(int id)
        {
            var commandModelFromRepo = _repository.GetCommandById(id);

            if (commandModelFromRepo == null)
            {
                return(NotFound());
            }
            _repository.DeteleCommand(commandModelFromRepo);
            _repository.SaveChanges();

            return(NoContent());
        }