コード例 #1
0
        public async Task <ActionResult <Customer> > GetCustomer(int id)
        {
            var customer = await _userManagerService.GetCustomerAsync(id);

            if (customer == null)
            {
                return(NotFound());
            }

            return(customer);
        }