public System.String ToJSON() { return("{\"data\" : " + data.ToString() + "}"); }
/// <summary> /// Deletes a existing resource. /// </summary> /// <param name="ID">The ID of the resource to be deleted.</param> public void Delete(System.Int16 ID) => this.Delete(ID.ToString());
/// <summary> /// Gets a single resource by ID. /// </summary> /// <param name="ID">The ID of the resource to show.</param> /// <returns>A resource represented by ID.</returns> public T Show(System.Int16 ID) => this.Show(ID.ToString());
/// <summary> /// Deletes a existing resource. /// </summary> /// <param name="ID">The ID of the resource to be deleted.</param> public async System.Threading.Tasks.Task DeleteAsync(System.Int16 ID) => await this.DeleteAsync(ID.ToString());
/// <summary> /// Updates a resource partially. /// </summary> /// <param name="ID">The ID of the resource to be modified.</param> /// <param name="Model">The object that contains the fields and values to be modified.</param> /// <returns>The modified resource.</returns> public T Modify(System.Int16 ID, System.Object Model) => this.Modify(ID.ToString(), Model);