public ActionResult Mails() { MailsView source = new MailsView(); source.mails = mng.Mail.GetMails(); source.mailStatuses = mng.Mail.GetMailStatuses(); source.contractor = mng.Contractor.GetContractors(); return(View(source)); }
private void OnMailsClic() { mailButton.SetBlinking(false); MailsView view = Instantiate(pref.prefabMailsView); Window w = sys.NewWindow("Mails", view.gameObject); w.Title = "Mails"; view.SetMailbox(LocalDataManager.instance.Mailbox); w.Show(); }