public void OnSendInformationLogClicked() { MailsSystemManager.SendInformationLogInMail(m_mainController.LoggedInTherapist); m_mainController.ShowPopup(MessageController.MessageType.Succsess, "Mail will be sent in few minutes."); try { PrintToLog("Information log was sent to therapist mail: Requsted by the therapist: " + m_mainController.LoggedInTherapist.FirstName + " " + m_mainController.LoggedInTherapist.LastName + ", id: " + m_mainController.LoggedInTherapist.Username + ".", MainController.LogType.Information); } catch (Exception e) { PrintToLog(e.ToString(), MainController.LogType.Error); } }
public void OnSendInformationLogClicked() { MailsSystemManager.SendInformationLogInMail(m_mainController.LoggedInTherapist); m_mainController.ShowPopup(MessageController.MessageType.Succsess, "Mail will be sent in few minutes."); }