void ErrorMessageDialog(string title) { var dialog = new Helpers.MessageDialog(); var errorDialog = dialog.BuildErrorMessageDialog(title, ""); PresentViewController(errorDialog, true, null); }
// TODO: given this is in all controllers, should make a super class to reduce duplication void ErrorMessageDialog(string message) { var dialog = new Helpers.MessageDialog(); var errorDialog = dialog.BuildErrorMessageDialog("ERROR", message); PresentViewController(errorDialog, true, null); }