Esempio n. 1
0
		async void Login(RefitApiService service)
		{
			var result = await service.EmpireAsync(Priority.Background, requestString);//.ConfigureAwait (false);
			if (result != null)
				ResultString = result.result.session_id;
			else
				ResultString = "An Error Occured";//resultLbl.Text = result.ToString() ;
		}
Esempio n. 2
0
		async void Login(RefitApiService service, string requestString)
		{
			var result = await service.EmpireAsync(Priority.Background, requestString);//.ConfigureAwait (false);
			if(result != null)
			{
				if (!String.IsNullOrEmpty(result.result.session_id))
				{
					await Navigation.PushAsync(new MailMainView());
				}
			}
			else
			{

			}
			//if (result != null)
			//	ResultString = result.result.session_id;
			//else
			//	ResultString = "An Error Occured";//resultLbl.Text = result.ToString() ;
		}