Пример #1
0
        public void Test4()
        {
            var data = new SamplePostParameterViewModel
            {
                Numbers = new List <int>
                {
                    5, 4, 3, 1, 2,
                },
                Number = 10,
            };
            var result = SampleHelper.Exist(data);

            Assert.False(result);
        }
        public IActionResult Exist(SamplePostParameterViewModel parameter)
        {
            var existValue = SampleHelper.Exist(parameter);

            return(View(existValue));
        }