Exemplo n.º 1
0
        public Customer GetCustomerByID(int customerID)
        {
            Customer customer = new Customer();
              CustomerDAL customerDAL = new CustomerDAL();

              customer = customerDAL.GetCustomerByID(customerID);
              return customer;
        }
Exemplo n.º 2
0
        // GET /api/values/5
        public Customer Get(int customerID)
        {
            Customer customer = new Customer();
              CustomerService customerService = new CustomerService();

              customer = customerService.GetCustomerByID(customerID);
              return customer;

              //return "value";
        }