Example #1
0
        public Customer GetCustomerByID(int customerID)
        {
            Customer customer = new Customer();
              CustomerDAL customerDAL = new CustomerDAL();

              customer = customerDAL.GetCustomerByID(customerID);
              return customer;
        }
        // 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";
        }