コード例 #1
0
        public IActionResult GetAll([FromBody] GetAllAction action)
        {
            var result = action.ExecuteAsync();

            return(Ok(result.Result));
        }
コード例 #2
0
        public ApuxActionResult <List <Product> > GetAll(GetAllAction action)
        {
            var productList = _productDataAccess.GetAllProducts();

            return(new ApuxActionResult <List <Product> >(productList));
        }