/// <summary> /// Adds the specified SignIn to the collection via POST. /// </summary> /// <param name="signIn">The SignIn to add.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param> /// <returns>The created SignIn.</returns> public System.Threading.Tasks.Task <SignIn> AddAsync(SignIn signIn, CancellationToken cancellationToken) { this.ContentType = "application/json"; this.Method = "POST"; return(this.SendAsync <SignIn>(signIn, cancellationToken)); }
/// <summary> /// Creates the specified SignIn using POST. /// </summary> /// <param name="signInToCreate">The SignIn to create.</param> /// <returns>The created SignIn.</returns> public System.Threading.Tasks.Task <SignIn> CreateAsync(SignIn signInToCreate) { return(this.CreateAsync(signInToCreate, CancellationToken.None)); }
/// <summary> /// Adds the specified SignIn to the collection via POST. /// </summary> /// <param name="signIn">The SignIn to add.</param> /// <returns>The created SignIn.</returns> public System.Threading.Tasks.Task <SignIn> AddAsync(SignIn signIn) { return(this.AddAsync(signIn, CancellationToken.None)); }
/// <summary> /// Initializes any collection properties after deserialization, like next requests for paging. /// </summary> /// <param name="signInToInitialize">The <see cref="SignIn"/> with the collection properties to initialize.</param> private void InitializeCollectionProperties(SignIn signInToInitialize) { }