Esempio n. 1
0
        public IActionResult OverzichtMailbox()
        {
            AnalyseFilter.ZetSessieLeeg(HttpContext);
            IEnumerable <InterneMailJobcoach> mails = _interneMailJobcoachRepository.GetAll(User.Identity.Name);
            JobCoach jc = _jobCoachRepository.GetByEmail(User.Identity.Name);

            foreach (InterneMailJobcoach m in mails)
            {
                m.Jobcoach = jc;
            }
            return(View(new OverzichtMailboxViewModel(mails)
            {
                WilAnimaties = jc.WilAnimaties
            }));
        }