// POST: api/customerList public List <Customer> Post([FromBody] string value) { CutomerList customerHelper = new CutomerList(); List <Customer> customerList = customerHelper.GetCustomerList(); // return customerList return(customerList); }
// GET: api/customerList //public string Get() public List <Customer> Get() { CutomerList customerHelper = new CutomerList(); List <Customer> customerList = customerHelper.GetCustomerList(); return(customerList); //return "hello"; }