Example #1
0
        // 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));
        }
Example #2
0
        public int PutRequestTrainerRate([FromBody] RequestTrainer r)
        {
            RequestTrainer rt = new RequestTrainer();

            return(rt.UpdateRequestTrainerRate(r));
        }
Example #3
0
        public int ReopenRequest([FromBody] RequestTrainer r)
        {
            RequestTrainer rt = new RequestTrainer();

            return(rt.ReopenRequest(r));
        }
Example #4
0
        public int DeleteRequest([FromBody] RequestTrainer r)
        {
            RequestTrainer rt = new RequestTrainer();

            return(rt.DeleteRequest(r));
        }
Example #5
0
        public int PutIsApprovedTrainerFalse([FromBody] RequestTrainer r)
        {
            RequestTrainer rt = new RequestTrainer();

            return(rt.UpdateIsApprovedTrainerFalse(r));
        }