public HttpResponseMessage AddExerciseSchedule(AddExerciseRequestModel objAddExerciseRequestModel)
        {
            FResponse result = new FResponse();

            try
            {
                var    headers = Request.Headers;
                string token   = headers.Authorization.Parameter.ToString();
                Int64  userId  = _objFriendFitDBEntity.Database.SqlQuery <Int64>("select UserId from UserToken where TokenCode={0}", token).FirstOrDefault();

                int value = _objIExerciseRepository.AddExerciseSchedule(objAddExerciseRequestModel);
                if (value > 0)
                {
                    result.StatusCode = Convert.ToInt32(HttpStatusCode.OK);
                    result.Message    = "Exercise added successfully!";
                }
                else
                {
                    result.StatusCode = Convert.ToInt32(HttpStatusCode.NotAcceptable);
                    result.Message    = "Parameters are not correct";
                }
            }
            catch (Exception ex)
            {
                result.StatusCode = Convert.ToInt32(HttpStatusCode.BadRequest);
                _response         = Request.CreateResponse(HttpStatusCode.InternalServerError, "Some error occurred");
            }
            _response = Request.CreateResponse(HttpStatusCode.OK, result);

            return(_response);
        }