public HttpResponseMessage UpdatePageMetaTag(PageMetaTagsUpdateRequest model)
        {
            if (!ModelState.IsValid)
            {
                return Request.CreateErrorResponse(HttpStatusCode.BadRequest, ModelState);
            }

            SuccessResponse response = new SuccessResponse();

            _metaTagsService.Update(model);

            return Request.CreateResponse(response);
        }
        public void Update(PageMetaTagsUpdateRequest model)
        {
            DataProvider.ExecuteNonQuery(GetConnection, "dbo.PageMetaTags_Update"
               , inputParamMapper: delegate (SqlParameterCollection paramCollection)
               {
                   paramCollection.AddWithValue("@MetaTagId", model.MetaTagId);
                   paramCollection.AddWithValue("@Value", model.Value);
                   paramCollection.AddWithValue("@OwnerId", model.OwnerId);
                   paramCollection.AddWithValue("@OwnerType", model.OwnerType);
                   paramCollection.AddWithValue("@Id", model.Id);

               }, returnParameters: delegate (SqlParameterCollection param)
               {
               }
               );
        }