Class ContactsController
Inheritance
System.Object
ContactsController
Assembly: EPiServer.Commerce.UI.Admin.dll
Version: 14.26.0
public class ContactsController : Controller
Constructors
Declaration
public ContactsController(ICustomerService customerService)
Parameters
Methods
Declaration
public ActionResult AddOrUpdate(ContactModel model)
Parameters
Returns
Type |
Description |
Microsoft.AspNetCore.Mvc.ActionResult |
|
Declaration
public Task<ActionResult> CreateCustomerAccount(CustomerAccountViewModel account)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult> |
|
Declaration
public ActionResult Delete(List<string> contactIds)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<System.String> |
contactIds |
|
Returns
Type |
Description |
Microsoft.AspNetCore.Mvc.ActionResult |
|
Declaration
public ActionResult DownloadExportedFile(string exportedFileName)
Parameters
Type |
Name |
Description |
System.String |
exportedFileName |
|
Returns
Type |
Description |
Microsoft.AspNetCore.Mvc.ActionResult |
|
Declaration
public ActionResult Export(ContactExportModel model)
Parameters
Returns
Type |
Description |
Microsoft.AspNetCore.Mvc.ActionResult |
|
Declaration
public ActionResult Get(string contactId)
Parameters
Type |
Name |
Description |
System.String |
contactId |
|
Returns
Type |
Description |
Microsoft.AspNetCore.Mvc.ActionResult |
|
Declaration
public Task<ActionResult> GetCustomerAccountByContactIdAsync(string contactId)
Parameters
Type |
Name |
Description |
System.String |
contactId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult> |
|
Declaration
public ActionResult List(string sortField, SortingElementType sortType, int startIndex, int recordsToRetrieve)
Parameters
Type |
Name |
Description |
System.String |
sortField |
|
SortingElementType |
sortType |
|
System.Int32 |
startIndex |
|
System.Int32 |
recordsToRetrieve |
|
Returns
Type |
Description |
Microsoft.AspNetCore.Mvc.ActionResult |
|
Declaration
public ActionResult Search(SearchContactModel model)
Parameters
Returns
Type |
Description |
Microsoft.AspNetCore.Mvc.ActionResult |
|