Beispiel #1
0
        public async Task <IActionResult> AddCustomerAsync(CustomerVM customer)
        {
            bool result = await _customerBL.AddCustomerAsync(customer);

            if (result)
            {
                return(Ok());
            }
            return(BadRequest());
        }