private async void Call() { if (await CheckPermissions()) { phoneService.Call(AppConfigurations.MedicalCenterLine); } }
public PhoneViewModel(IPhoneService phone) { this.Call = new Command(() => phone.Call(this.DisplayName, this.PhoneNumber)); }
public PhoneViewModel(IPhoneService phone) { this.Call = new Command(() => phone.Call(String.Empty, this.PhoneNumber)); }
private void CallMedicalCenter() { phoneService.Call(AppConfigurations.MedicalCenterLine); }