public ActionResult <IEnumerable <Command> > GetAll() { var commands = _repository.GetAll(); return(Ok(commands)); }