コード例 #1
0
 public ActionResult <ICustomer> Login(Customer customer)
 {
     loggedInCustomer = customerController.Login(customer.username, customer.password);
     logger.InfoFormat("result 0 {0} result 1 {1}", loggedInCustomer.getId(), loggedInCustomer.GetUserName());
     return(CreatedAtAction(nameof(GetCustomerByCustomerName),
                            new { customerName = loggedInCustomer.GetUserName() }, loggedInCustomer));
 }