public async Task<Patient> GetCurrentAsync() { if (_current == null) { _current = await _client.PatientsService.GetAsync(AppSettings.CurrentPatientId); } return _current; }
protected override async Task InitializeAsync() { CurrentUser = await _userSvc.GetCurrentAsync(); }
public CurrentUserService(IMyHealthClient client) { _client = client; _current = null; }