ISelectorControllerTViewModelGet Method (String, Int32) |
Get view model according to ID and objType.
Namespace: CMS.Base.Web.UIAssembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 13.0.131
Syntax TViewModel Get(
string objType,
int ID
)
Parameters
- objType
- Type: SystemString
Object type used to identify different data types within one controller. - ID
- Type: SystemInt32
Object identifier.
Return Value
Type:
TViewModelHTTP status code 400 Bad Request, if model is not found;
otherwise,
HTTP status code 200 OK with serialized
TViewModel view model.
See Also