InviteService.Delete Method

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

Overloads

Delete(int, bool) Removes an invite from the repo.
Delete(string, bool) Removes all invites with the specified email address from the repo.

Delete(int, bool)

Removes an invite from the repo.

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

Parameters

id
int
auth
bool

Returns

int

The number of deleted invites

Delete(string, bool)

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

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

Parameters

email
string
auth
bool

Returns

int

The number of deleted invites