public void isPropretyCheck() { try { if (model.isPropretyCheck(CurrentPriority)) { MessageProprty = "The propreties are saved"; } else { MessageProprty = "The propreties are not valid"; } } catch (Exception ex) { MessageProprty = ex.Message; } }