UserService.ViewAsync Method

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

ViewAsync(int, int?)

Mark a user profile as viewed by the specified user.

public static Task<long> ViewAsync(int id, int? userId = default(int? ))

Parameters

id
int

Id of the User to that was viewed.

userId
int?

Id of the User that viewed, default is null which indicates the current user.

Returns

System.Threading.Tasks.Task

The liked item.