Beispiel #1
0
        public TestDTO AddProduct([FromBody] Product item)
        {
            var result = _service.AddProduct(item);

            return(result);
        }
        public TestDTO AddProduct([FromBody] AddProductVM vm)
        {
            var result = _service.AddProduct(vm.item);

            return(result);
        }