示例#1
0
 public ActionResult <IEnumerable <Command> > GetAllCommands()
 {
     return(Ok(_repo.GetAppCommands()));
 }
        public ActionResult <IEnumerable <Command> > GetAllCommands()
        {
            var commandItems = _repository.GetAppCommands();

            return(Ok(commandItems));
        }