public IHttpActionResult Put(ExerciseViewModel model)
 {
     if (!ModelState.IsValid)
     {
         return BadRequest("Unvalid model");
     }
     _exerciseService.Edit(Mapper.Map<DTOExercise>(model));
     return Ok();
 }
 public IHttpActionResult Post(ExerciseViewModel model)
 {
     if (!ModelState.IsValid)
     {
         return BadRequest("Unvalid model");
     }
     var user = _exerciseService.Add(Mapper.Map<DTOExercise>(model));
     return Ok(user);
 }