private async void BtnAddService_Clicked(object sender, EventArgs e) { if (!Validate()) { await DisplayAlert("Ocorreu um erro!", "Campos não podem ser nulos.", "OK"); return; } Job job = new Job(UserController.CurrentUser.Id, TitleEntry.Text, UserController.CurrentUser.Phones.First().Number.ToString(), DescritionServiceEntry.Text, "0", DateTime.UtcNow, filePath); UserController.CurrentUser.Jobs.Add(job); CallbackStatus status = await JobController.AddAPI(UserController.CurrentUser); await DisplayAlert($"{ status.CurrentStatus.CallbackStatusToText()}", status.CallbackMessage, "OK"); }