示例#1
0
 public IActionResult Get()
 {
     return(Ok(_ourCustomerRespository.GetCustomers(10, "ASC")));
 }
 public List <Customer> Get()
 {
     return(_ourCustomerRespository.GetCustomers(10, "ASC"));
 }
示例#3
0
        public ActionResult GetCustomers()
        {
            var allCustomers = _customerRepository.GetCustomers();

            return(Ok(allCustomers));
        }