예제 #1
0
 public IHttpActionResult GetAllCourses()
 {
     return(Ok(CustBl.GetAllCust()));
 }
예제 #2
0
 public IHttpActionResult isexsist([FromUri] string id)
 {
     return(Ok(CustBl.Isexsist(id)));
 }
예제 #3
0
 public IHttpActionResult getUserByID([FromUri] string id)
 {
     return(Ok(CustBl.GetCustById(id)));
 }
예제 #4
0
 public IHttpActionResult getCustomerById([FromUri] int id)
 {
     return(Ok(CustBl.GetCustById(id)));
 }