public async Task OnGetAsync() { Contractors = await _contractorClient.Get(); }
public async Task <IActionResult> GetAll() { Contractors = await _contractorClient.Get(); return(Json(new { data = Contractors })); }
public async Task OnGetAsync(int id) { ConractorEntity = await _contractorClient.Get(id); }