Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class AddressesController

Inheritance
System.Object
AddressesController
Namespace: EPiServer.Commerce.UI.Admin.Customers
Assembly: EPiServer.Commerce.UI.Admin.dll
Version: 14.26.0
Syntax
public class AddressesController : Controller

Constructors

AddressesController(ICustomerService)

Declaration
public AddressesController(ICustomerService customerService)
Parameters
Type Name Description
ICustomerService customerService

Methods

AddOrUpdate(AddressModel)

Declaration
public ActionResult AddOrUpdate(AddressModel model)
Parameters
Type Name Description
AddressModel model
Returns
Type Description
Microsoft.AspNetCore.Mvc.ActionResult

Delete(List<String>)

Declaration
public ActionResult Delete(List<string> addressIds)
Parameters
Type Name Description
System.Collections.Generic.List<System.String> addressIds
Returns
Type Description
Microsoft.AspNetCore.Mvc.ActionResult

Get(Guid)

Declaration
public ActionResult Get(Guid addressId)
Parameters
Type Name Description
System.Guid addressId
Returns
Type Description
Microsoft.AspNetCore.Mvc.ActionResult

GetByContactId(String)

Declaration
public ActionResult GetByContactId(string contactId)
Parameters
Type Name Description
System.String contactId
Returns
Type Description
Microsoft.AspNetCore.Mvc.ActionResult

GetByOrganizationId(String)

Declaration
public ActionResult GetByOrganizationId(string orgId)
Parameters
Type Name Description
System.String orgId
Returns
Type Description
Microsoft.AspNetCore.Mvc.ActionResult