Esempio n. 1
0
 /// <summary>
 /// Returns a view object with all of its properties filled.
 /// </summary>
 /// <param name="id">
 /// The view number that you would like to get the details of.
 /// Value Type: <see cref="long" />   (System.Int64)
 ///</param>
 /// <returns></returns>
 public TEntity Get <TEntity>(long id) where TEntity : ParaEntity, new()
 {
     return(ApiUtils.ApiGetEntity <TEntity>(Credentials, id));
 }
Esempio n. 2
0
 public ApiCallResponse RunActionOn <TEntity>(long entityId, ParaObjects.Action action)
     where TEntity : ParaEntity, IActionRunner, new()
 {
     return(ApiUtils.ActionRun <TEntity>(entityId, action, Credentials));
 }