Пример #1
0
        public async Task <IActionResult> GetCustomerById(int id)
        {
            CustomerDTO customerDTO;

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