Example #1
0
        public async Task <IActionResult> Post(Customer customer)
        {
            await _customerApplication.RegisterNewCustomerAndSendMail(customer);

            return(Created("created", customer));
        }