public async Task <IActionResult> Get() { return(Ok(await _service.GetAll())); }
private List <AdvisorViewModel> GetAll() { return(Service.GetAll().GetAwaiter().GetResult()); }
public async Task <IActionResult> Get() { return(Ok(await _service.GetAll())); }
private List <AdvisorViewModel> GetAll() { return(Service.GetAll().GetAwaiter().GetResult()); }