예제 #1
0
        public async Task <IActionResult> GetCustomerByName(string name)
        {
            CustomerDTO customerDTO;

            try
            {
                customerDTO = await _customerFacade.GetCustomerByName(name);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(base.Ok(customerDTO));
        }