public void UpdateContent(CMSContentItemUpdateRequest model)
 {
     DataProvider.ExecuteNonQuery(GetConnection, "dbo.CMSContent_UpdateContent"
        , inputParamMapper: delegate(SqlParameterCollection paramCollection)
            {
            paramCollection.AddWithValue("@Id", model.ContentId);
            paramCollection.AddWithValue("@Value", model.Value);
        }, returnParameters: delegate(SqlParameterCollection param)
        {
        });
 }
        public HttpResponseMessage UpdateContent(CMSContentItemUpdateRequest model)
        {
            if (!ModelState.IsValid)
            {
                return Request.CreateErrorResponse(HttpStatusCode.BadRequest, ModelState);
            }

            _cmsService.UpdateContent(model);

            SuccessResponse response = new SuccessResponse();

            return Request.CreateResponse(HttpStatusCode.OK, response);
        }