Example #1
0
        public async Task <IActionResult> AddCustomer(CustomerDTO customerDTO)
        {
            bool success = false;

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