public HttpResponseMessage UpdateStyle(QAndAStyleUpdateRequest model) { SuccessResponse response = new SuccessResponse(); _qAndAService.UpdateStyle(model); return Request.CreateResponse(response); }
public void UpdateStyle(QAndAStyleUpdateRequest model) { DataProvider.ExecuteNonQuery(GetConnection, "dbo.QAndAs_UpdateStyle", inputParamMapper: (Action<SqlParameterCollection>)delegate (SqlParameterCollection paramCollection) { paramCollection.AddWithValue("@StyleClass", model.StyleClass); paramCollection.AddWithValue("@ID", model.ID); }, returnParameters: delegate (SqlParameterCollection param) { } ); }