InviteService.Delete Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Overloads

Delete(Int32, Boolean) Removes an invite from the repo.
Delete(String, Boolean) Removes all invites with the specified email address from the repo.

Delete(Int32, Boolean)

Removes an invite from the repo.

public static int Delete(int id, bool auth = true)

Parameters

id
System.Int32
auth
System.Boolean

Returns

System.Int32

The number of deleted invites

Delete(String, Boolean)

Removes all invites with the specified email address from the repo.

public static int Delete(string email, bool auth = true)

Parameters

email
System.String
auth
System.Boolean

Returns

System.Int32

The number of deleted invites