Table of Contents

Method GetByIdAsync

Namespace
UsluzionicaServer.Services
Assembly
UsluzionicaServer.dll

GetByIdAsync(int, string?)

Vraća detalje listinga. ViewCount se uvećava samo ako gledalac NIJE vlasnik (anoniman ili drugi korisnik = pravi pregled).

public Task<ListingDto?> GetByIdAsync(int id, string? viewerUserId = null)

Parameters

id int
viewerUserId string

Returns

Task<ListingDto>