'
Show / Hide Table of Contents

Class FaceSelectionController

The Face 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/FaceSelection

Methods

Create(PI.SDK.Models.FaceSelectionModel)

Creates a new face selection.

Declaration
public JsonResult Create(PI.SDK.Models.FaceSelectionModel model)
Parameters
Type Name Description
PI.SDK.Models.FaceSelectionModel model

The model of the face selection to create.

Returns
Type Description
System.Web.Mvc.JsonResult

A Json encoded string containing the id of the newly created face selection.

Delete(Guid)

Deletes an existing face seletion.

Declaration
public JsonResult Delete(Guid id)
Parameters
Type Name Description
System.Guid id

The id of the face 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 selection.

Declaration
public JsonResult Get(Guid id)
Parameters
Type Name Description
System.Guid id

The id of the face selection to retrieve.

Returns
Type Description
System.Web.Mvc.JsonResult

A Json encoded model of the face selection with the specified id.

Back to top Generated by DocFX