public void InsertUserDashboard(UserDashAddRequest model)
 {
     DataProvider.ExecuteNonQuery("dbo.UserDashboard_Insert"
                                  , inputParamMapper : delegate(SqlParameterCollection paramCollection)
     {
         paramCollection.AddWithValue("@Id", model.Id);
         paramCollection.AddWithValue("@Facebook", model.Facebook);
         paramCollection.AddWithValue("@Twitter", model.Twitter);
         paramCollection.AddWithValue("@WeeklyFB", model.WeeklyFB);
         paramCollection.AddWithValue("@WeeklyTwitter", model.WeeklyTwitter);
     }
                                  );
 }
 // POST
 public HttpResponseMessage UserDash(UserDashAddRequest model)
 {
     if (!ModelState.IsValid)
     {
         return(Request.CreateErrorResponse(HttpStatusCode.BadRequest, ModelState));
     }
     try
     {
         _facebookDbService.InsertUserDashboard(model);
         return(Request.CreateResponse(HttpStatusCode.OK));
     }
     catch (Exception ex)
     {
         return(Request.CreateErrorResponse(HttpStatusCode.BadRequest, ex));
     }
 }