public HttpResponseMessage UpdateBasic(QAndAUpdateRequest model)
        {
            SuccessResponse response = new SuccessResponse();
            _qAndAService.UpdateBasic(model);

            return Request.CreateResponse(response);
        }
        public void UpdateBasic(QAndAUpdateRequest model)
        {
            DataProvider.ExecuteNonQuery(GetConnection, "dbo.QAndA_UpdateBasic", inputParamMapper: (Action<SqlParameterCollection>)delegate (SqlParameterCollection paramCollection)
            {
                paramCollection.AddWithValue("@Question", model.Question);
                paramCollection.AddWithValue("@Answer", model.Answer);
                paramCollection.AddWithValue("@Type", model.Type);
                paramCollection.AddWithValue("@ID", model.ID);

            }, returnParameters: delegate (SqlParameterCollection param)
            {

            }
            );
        }