コード例 #1
0
        public void GetVariable()
        {
            var sut = new VariableService();

            var actual = sut.GetVariableByName("WalletEndpointAddress");

            Assert.Equal("WalletEndpointAddress", actual.Name);
        }
コード例 #2
0
        public ActionResult <Variable> GetVariableByName(string name)
        {
            var variable = _variablesService.GetVariableByName(name);

            return(Ok(variable));
        }