Class FlowService
- Namespace
- Dynamicweb.EmailMarketing.Flows
- Assembly
- Dynamicweb.EmailMarketing.dll
public class FlowService
- Inheritance
-
FlowService
- Inherited Members
Methods
Delete(int)
Delete flow
public void Delete(int flowId)
Parameters
flowIdintThe flow id
DeleteAllFlowsFromFolders(IEnumerable<int>)
Delete all flows from folders
public void DeleteAllFlowsFromFolders(IEnumerable<int> foldersIds)
Parameters
foldersIdsIEnumerable<int>The folders ids
GetFlow(int)
Gets flow
public Flow? GetFlow(int flowId)
Parameters
flowIdintThe flow id.
Returns
GetFlows()
Gets all flows
public IEnumerable<Flow> GetFlows()
Returns
GetFlows(int)
Gets folder flows
public IEnumerable<Flow> GetFlows(int folderId)
Parameters
folderIdintThe folder id which is contains flows. If null then it returns top level flows
Returns
GetTopLevelFlows()
Gets folder flows
public IEnumerable<Flow> GetTopLevelFlows()
Returns
Save(Flow)
Save flow
public void Save(Flow flow)
Parameters
flowFlowThe flow instance to save