Table of Contents

Class FormService

Namespace
Dynamicweb.Forms
Assembly
Dynamicweb.Forms.dll
public abstract class FormService
Inheritance
FormService
Derived
Inherited Members

Methods

Copy(Form)

Duplicates the form.

public virtual void Copy(Form form)

Parameters

form Form

The form to duplicate.

Delete(Form)

Delete a form.

public virtual void Delete(Form form)

Parameters

form Form

The form to delete.

Delete(int)

Delete a form.

public virtual void Delete(int formId)

Parameters

formId int

The ID of the form to delete.

GetAll()

Get all forms.

public virtual IEnumerable<Form> GetAll()

Returns

IEnumerable<Form>

GetById(int)

Get a form by ID.

public virtual Form GetById(int formId)

Parameters

formId int

The ID of the form.

Returns

Form

IncrementDisplayCount(int)

Increases the display count for a given form.

public virtual void IncrementDisplayCount(int formId)

Parameters

formId int

The ID of the form.

Save(Form)

Save the form.

public virtual void Save(Form form)

Parameters

form Form

The form to save.

To top