public ActionResult <Command> GetById(int id) { var command = _repository.GetById(id); return(command != null?Ok(command) : NotFound()); }
public ActionResult <Command> GetById(int id) { var command = _repository.GetById(id); return(command != null?Ok(command) : NotFound()); }