public async Task <RegUserJson> RequestGetUserDataAsync(string username) { //Create Dialog //Create Parameter to POST request Dictionary <string, object> data = new Dictionary <string, object>(); data.Add("username", username); RegUserJson response = await myAPI.GetUserData(data); return(response); }
public async Task <RegUserJson> RequestLoginUserAsync(string username, string password) { //Create Dialog //Create Parameter to POST request Dictionary <string, object> data = new Dictionary <string, object>(); data.Add("username", username); data.Add("password", password); RegUserJson response = await myAPI.LoginUser(data); return(response); }