public ActionResult <IEnumerable <Command> > GetAllCommands() { // Using data in internal format. var commandItems = _repository.GetAppComands(); return(Ok(commandItems)); }
public ActionResult <IEnumerable <Command> > GetAllCommands() { return(Ok(_repository.GetAppComands())); }