// DELETE: api/TrainingPlans/5
 public IHttpActionResult Delete(int id)
 {
     try
     {
         return(ResponseMessage(Request.CreateResponse(new
         {
             response = userService.deleteTrainingPlan(id)
         })));
     }
     catch (Exception e)
     {
         return(ResponseMessage(Request.CreateErrorResponse(HttpStatusCode.InternalServerError, e.ToString())));
     }
 }