// GET: api/RequestTrainer/5 //public string Get(int id) //{ // return "value"; //} // POST: api/RequestTrainer public int Post([FromBody] RequestTrainer [] rt) { RequestTrainer r = new RequestTrainer(); return(r.Insert(rt)); }
public int PutRequestTrainerRate([FromBody] RequestTrainer r) { RequestTrainer rt = new RequestTrainer(); return(rt.UpdateRequestTrainerRate(r)); }
public int ReopenRequest([FromBody] RequestTrainer r) { RequestTrainer rt = new RequestTrainer(); return(rt.ReopenRequest(r)); }
public int DeleteRequest([FromBody] RequestTrainer r) { RequestTrainer rt = new RequestTrainer(); return(rt.DeleteRequest(r)); }
public int PutIsApprovedTrainerFalse([FromBody] RequestTrainer r) { RequestTrainer rt = new RequestTrainer(); return(rt.UpdateIsApprovedTrainerFalse(r)); }