Class FacePackSelectionController
The Face Pack Selection Controller is a controller that allows data to be retrieved and updated within the Ayuda Platform.
Namespace: Ayuda.BMS.Splash.Areas.Pi.Controllers
Remarks
This web service can be accessed using an address similar to the following: https://[AYUDA DEPLOYMENT URL]/Juice/Pi/FacePackSelection
Methods
Create(PI.SDK.Models.FacePackSelectionModel)
Creates a new face pack selection.
Declaration
public JsonResult Create(PI.SDK.Models.FacePackSelectionModel model)
Parameters
Type | Name | Description |
---|---|---|
PI.SDK.Models.FacePackSelectionModel | model | The model of the face pack selection to create. |
Returns
Type | Description |
---|---|
System.Web.Mvc.JsonResult | A Json encoded string containing the id of the newly created face pack selection. |
Delete(Guid)
Deletes an existing face pack seletion.
Declaration
public JsonResult Delete(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | The id of the face pack selection to delete. |
Returns
Type | Description |
---|---|
System.Web.Mvc.JsonResult | A Json encoded boolean. true if the delete succeeded, else false. |
Get(Guid)
Gets all properties of a given face pack selection.
Declaration
public JsonResult Get(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | The id of the face pack selection to retrieve. |
Returns
Type | Description |
---|---|
System.Web.Mvc.JsonResult | A Json encoded model of the face pack selection with the specified id. |