示例#1
0
 public IHttpActionResult getUserByID([FromUri] string id)
 {
     return(Ok(CustBl.GetCustById(id)));
 }
示例#2
0
 public IHttpActionResult getCustomerById([FromUri] int id)
 {
     return(Ok(CustBl.GetCustById(id)));
 }