private static long GetModifyMailId(this ModelManager mmng) { long result = 0L; if (mmng != null && mmng.ValidData(EModelType.Model_mailList)) { MailModelData data = mmng.GetData <MailModelData>(EModelType.Model_mailList); if (data != null) { result = data.modifyMailId; } } return(result); }
private static List <MailData> GetMailDataList(this ModelManager mmng) { List <MailData> result = null; if (mmng != null && mmng.ValidData(EModelType.Model_mailList)) { MailModelData data = mmng.GetData <MailModelData>(EModelType.Model_mailList); if (data != null) { result = data.mailList; } } return(result); }