Example #1
0
        public IActionResult Create(CustomerViewModel model)
        {
            var customer = _customerService.Create(model.Map());

            return(Accepted(customer));
        }