private async void Save() { // ************* TODO ************ // Validate new user before saving ApiService api = new ApiService(); await api.AddCompanyUser(UserDetails); _nav.GoBackAsync(); }
private async void Save() { ApiService api = new ApiService(); int id = await api.AddCompanyUser(_userDetails); // Updated/Created user NavigationParameters p = new NavigationParameters(); p.Add("UserId", id); await _nav.GoBackAsync(p); }