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

            return(Ok(commandItems));
        }