/// <summary> /// Gets all users from dao and creates viewModel which is passed to the view /// </summary> private void Initialize() { Logger.debug("Initalizing components", origin: "ChatMail.AdminPresenter"); List <User> users = m_adminDao.GetUsers(); m_adminViewModel = ResolveViewModel(users); m_adminView.ShowUsers(m_adminViewModel); }