title: The type or namespace name 'Data' does not exist in the namespace 'Sitecore.Forms'
body: <p>I am using Sitecore 8 and i have installed "Web Forms for Markerter(WFFM)" for create form, I have created custom class </p>
  
  <pre class="lang-cs prettyprint-override"><code>public class ContactUs : ISaveAction
  {
      void ISaveAction.Execute(ID formid, AdaptedResultList fields, params object[] data)
      {
          try
          {
              var submitFields = new NameValueCollection();
              foreach (AdaptedControlResult field in fields)
              {
                  submitFields.Add(field.FieldName, field.Value);
              }
              Sitecore.Forms.Data.DataManager.InsertForm(formid, submitFields, Sitecore.Data.ID.NewID, null);
          }
          catch (Exception ex)
          {
  
              LogFile("Error" + ex.Message);
          }
      }
  }
  </code></pre>
  
  <p>But it is giving error "The type or namespace name 'Data' does not exist in the namespace 'Sitecore.Forms'"</p>