public void UpdateStatusInfo(Status_info payInfo)
 {
     context.Entry(payInfo).State = EntityState.Modified;
 }
 public void InsertStatusInfo(Status_info statusInfo)
 {
     int id = context.Database.SqlQuery<int>("GetStatusInfoMaxID").Single() + 1;
     context.Status_info.Add(statusInfo);
 }