public HttpResponseMessage EditUserInfo(TrackCourseUpdate model, int id)
        {
            if (!ModelState.IsValid)
            {
                return Request.CreateErrorResponse(HttpStatusCode.BadRequest, ModelState);
            }

            SucessResponse response = new SucessResponse();

            _trackCourseService.Update(model);

            return Request.CreateResponse(response);
        }
        public void Update(TrackCourseUpdate model)
        {
            {
                DataProvider.ExecuteNonQuery(GetConnection, "dbo.TrackCourses_Update",
               inputParamMapper: delegate (SqlParameterCollection u)
               {

                   u.AddWithValue("@TracksId", model.Id);
                   u.AddWithValue("@Order", model.Order);

               });
            }
        }