コード例 #1
0
        public IActionResult GetCustomerNameByCode(string customerCode)
        {
            var customer = _SaleManager.GetCustomerNameByCode(customerCode);


            if (customer == null)
            {
                return(BadRequest(new { error = "Can not Get product!" }));
            }

            return(Ok(customer));
        }